projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stopped using a mount, which is on an insecure device.
[feisty_meow.git]
/
scripts
/
rev_control
/
version_control.sh
diff --git
a/scripts/rev_control/version_control.sh
b/scripts/rev_control/version_control.sh
index 391497df5fe4bd316f71eea85221c41d752a65b5..432d32636c4bfb3de14efddd4f4184a5ec6fe87c 100644
(file)
--- a/
scripts/rev_control/version_control.sh
+++ b/
scripts/rev_control/version_control.sh
@@
-112,7
+112,7
@@
function do_checkin()
return 1
fi
pushd "$directory" &>/dev/null
return 1
fi
pushd "$directory" &>/dev/null
- retval=0 # normally successful.
+
local
retval=0 # normally successful.
if [ -d "CVS" ]; then
cvs ci .
retval=$?
if [ -d "CVS" ]; then
cvs ci .
retval=$?
@@
-141,7
+141,7
@@
function do_diff
{
local directory="$1"; shift
pushd "$directory" &>/dev/null
{
local directory="$1"; shift
pushd "$directory" &>/dev/null
- retval=0 # normally successful.
+
local
retval=0 # normally successful.
# only update if we see a repository living there.
if [ -d ".svn" ]; then
# only update if we see a repository living there.
if [ -d ".svn" ]; then
@@
-160,7
+160,7
@@
function do_report_new
{
local directory="$1"; shift
pushd "$directory" &>/dev/null
{
local directory="$1"; shift
pushd "$directory" &>/dev/null
- retval=0 # normally successful.
+
local
retval=0 # normally successful.
# only update if we see a repository living there.
if [ -d ".svn" ]; then
# only update if we see a repository living there.
if [ -d ".svn" ]; then
@@
-215,8
+215,7
@@
function squash_first_few_crs()
function do_update()
{
directory="$1"; shift
function do_update()
{
directory="$1"; shift
- # plan on success for now.
- retval=0
+ local retval=0 # plan on success for now.
pushd "$directory" &>/dev/null
if [ -d "CVS" ]; then
cvs update . | squash_first_few_crs
pushd "$directory" &>/dev/null
if [ -d "CVS" ]; then
cvs update . | squash_first_few_crs