375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 | |
def commit(self, msg='', rec=1): |
""" commit with support for non-recursive commits """ |
from py.__.path.svn import cache |
|
cmd = 'commit -m "%s" --force-log' % (msg.replace('"', '\\"'),) |
if not rec: |
cmd += ' -N' |
out = self._authsvn(cmd) |
try: |
-> del cache.info[self] |
except KeyError: |
pass |
if out: |
m = self._rex_commit.match(out) |
return int(m.group(1)) | |