332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 | |
def commit(self, message=""): |
"""commit() returns None if there was nothing to commit |
and the revision number of the commit otherwise. |
""" |
out = self._svn('commit -m "%s"' % message) |
try: |
-> del cache.info[self] |
except KeyError: |
pass |
if out: |
m = self._rex_commit.match(out) |
return int(m.group(1)) | |