summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra D Prabhu <raghu.prabhu13@gmail.com>2011-03-27 16:23:43 +0530
committerRaghavendra D Prabhu <raghu.prabhu13@gmail.com>2011-03-27 16:23:43 +0530
commitd116dc185b304f35c357f6db2863532ed2a158d1 (patch)
tree272b3e5caebf6d9329e5c99c1242ac92372f2842
parente4d030c21f2094baeb8c6f6fa0ff1cce2069b1c1 (diff)
downloadScripts-d116dc185b304f35c357f6db2863532ed2a158d1.tar.gz
Scripts-d116dc185b304f35c357f6db2863532ed2a158d1.tar.bz2
Scripts-d116dc185b304f35c357f6db2863532ed2a158d1.zip
Fixed wsync
-rwxr-xr-xwsync6
1 files changed, 3 insertions, 3 deletions
diff --git a/wsync b/wsync
index 75e8797..9db4aad 100755
--- a/wsync
+++ b/wsync
@@ -31,10 +31,10 @@ if [[ -n $sproj ]];then
scp -q -r /tmp/wsync/$projname.git sate@wnohang.net:/$remotedir:t/
else
- if ! gitprompt 2>/dev/null;then
+ while ! gitprompt 2>/dev/null;do
print "Dirty repo"
pread "Commit $proj and then continue"
- fi
+ done
git push --mirror -v $remotedir/$proj:t
fi
popd
@@ -45,7 +45,7 @@ for proj in $projdir/*
do
gproj="$proj"
projname=${proj:t}
- pread "Syncing $proj"
+ echo "Syncing $proj"
pushd $proj
if /bin/grep -q "Unnamed repo" .git/description;then
echo "Enter one line description"