[py-svn] r23259 - py/dist/py/path/svn
hpk at codespeak.net
hpk at codespeak.net
Sun Feb 12 19:45:41 CET 2006
Author: hpk
Date: Sun Feb 12 19:45:40 2006
New Revision: 23259
Modified:
py/dist/py/path/svn/wccommand.py
Log:
always do a non-interactive commit
Modified: py/dist/py/path/svn/wccommand.py
==============================================================================
--- py/dist/py/path/svn/wccommand.py (original)
+++ py/dist/py/path/svn/wccommand.py Sun Feb 12 19:45:40 2006
@@ -277,11 +277,8 @@
return out
rex_commit = re.compile(r'.*Committed revision (\d+)\.$', re.DOTALL)
- def commit(self, message=None):
- if message:
- out = self._svn('commit -m %r' % message)
- else:
- out = self._svn('commit')
+ def commit(self, message=""):
+ out = self._svn('commit -m %r' % message)
try:
del cache.info[self]
except KeyError:
More information about the pytest-commit
mailing list