You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by jo...@apache.org on 2013/01/07 10:15:11 UTC

svn commit: r1429718 - /subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py

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',