subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1429718 - /subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
Date Mon, 07 Jan 2013 09:15:11 GMT
Author: joes
Date: Mon Jan  7 09:15:11 2013
New Revision: 1429718

URL: http://svn.apache.org/viewvc?rev=1429718&view=rev
Log:
* svnwcsub.py
   Better handling of nested directory checkouts.

Modified:
    subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py

Modified: subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py?rev=1429718&r1=1429717&r2=1429718&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py Mon Jan  7 09:15:11 2013
@@ -124,9 +124,10 @@ class WorkingCopy(object):
 
     def _get_match(self, svnbin, env):
         ### quick little hack to auto-checkout missing working copies
-        if not os.path.isdir(self.path) or is_emptydir(self.path):
+        if not os.path.isdir(self.path + "/.svn") or is_emptydir(self.path):
             logging.info("autopopulate %s from %s" % (self.path, self.url))
             subprocess.check_call([svnbin, 'co', '-q',
+                                   '--force',
                                    '--non-interactive',
                                    '--config-option',
                                    'config:miscellany:use-commit-times=on',



Mime
View raw message