maybe fixed commit weirdness

--HG--
branch : pmacs2
This commit is contained in:
moculus 2007-11-30 21:36:13 +00:00
parent 63810fb143
commit e695725a34
1 changed files with 6 additions and 5 deletions

View File

@ -1064,10 +1064,11 @@ class CvsCommit(Method):
lines = data.split('\n')
if status == 0:
for line in lines:
m = self.regex.match(lines[-1])
if m:
w.set_error("Committed [%s -> %s]" % (m.group(2), m.group(1)))
else:
return
w.set_error("Up-to-date")
else:
w.set_error("Problems with CVS commit: %d" % status)