changeset 519:165b4348e037

merged
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Mon, 01 Oct 2012 10:10:11 +0300
parents 68cdb8dc52ac (current diff) 898a4139087d (diff)
children 82df9fc9657d 5183a16c5e0d
files
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hg/hgsyncee	Mon Oct 01 09:59:08 2012 +0300
+++ b/hg/hgsyncee	Mon Oct 01 10:10:11 2012 +0300
@@ -177,8 +177,8 @@
     MSG="'$dir' repo."
     PrintLog PROCESSING
 
-    if [ -d $HG_PUSH_DIR/$dir ]; then
-        if [ -d $HG_PULL_DIR/$dir ] ; then
+    if [ -d $HG_PUSH_DIR/$dir/.hg ]; then
+        if [ -d $HG_PULL_DIR/$dir/.hg ] ; then
             if CheckRepCompatibility $HG_PULL_DIR/$dir $HG_PUSH_DIR/$dir; then :
             else
                 MSG="It seems repositories $HG_PULL_DIR/$dir $HG_PUSH_DIR/$dir not compatable."
--- a/hg/hgsyncew	Mon Oct 01 09:59:08 2012 +0300
+++ b/hg/hgsyncew	Mon Oct 01 10:10:11 2012 +0300
@@ -176,7 +176,7 @@
     PrintLog PROCESSING
 
     if [ $HTTP_USED = no ]; then
-        if [ -d $HG_PUSH_DIR/$dir ]; then
+        if [ -d $HG_PUSH_DIR/$dir/.hg ]; then
             if CheckRepCompatibility ./$dir $HG_PUSH_DIR/$dir; then :
             else
                 MSG="It seems repo '$dir' and etalon repo not compatable."