[py-svn] r51989 - py/branch/guido-svn-auth/py/path/svn
guido at codespeak.net
guido at codespeak.net
Sat Mar 1 13:10:28 CET 2008
Author: guido
Date: Sat Mar 1 13:10:28 2008
New Revision: 51989
Modified:
py/branch/guido-svn-auth/py/path/svn/wccommand.py
Log:
Added comment about one of the modified regular expressions (having to do with
usernames with spaces on win32).
Modified: py/branch/guido-svn-auth/py/path/svn/wccommand.py
==============================================================================
--- py/branch/guido-svn-auth/py/path/svn/wccommand.py (original)
+++ py/branch/guido-svn-auth/py/path/svn/wccommand.py Sat Mar 1 13:10:28 2008
@@ -208,6 +208,9 @@
""" rename this path to target. """
py.process.cmdexec("svn move --force %s %s" %(str(self), str(target)))
+ # XXX a bit scary to assume there's always 2 spaces between username and
+ # path, however with win32 allowing spaces in user names there doesn't
+ # seem to be a more solid approach :(
_rex_status = re.compile(r'\s+(\d+|-)\s+(\S+)\s+(.+?)\s{2,}(.*)')
def lock(self):
More information about the py-svn
mailing list