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