--HG--
branch : pmacs2
This commit is contained in:
moculus 2008-03-16 23:30:11 +00:00
parent a8444db402
commit 50bf60e2a3
1 changed files with 2 additions and 2 deletions

View File

@ -1128,7 +1128,7 @@ class SvnCommit(Method):
if status == 0: if status == 0:
raise Exception raise Exception
for line in lines: for line in lines:
m = self.regex.match(lines[-1]) m = self.regex.match(line)
if m: if m:
w.set_error("Committed [%s]" % (m.group(1))) w.set_error("Committed [%s]" % (m.group(1)))
return return
@ -1243,7 +1243,7 @@ class CvsCommit(Method):
if status == 0: if status == 0:
for line in lines: for line in lines:
m = self.regex.match(lines[-1]) m = self.regex.match(line)
if m: if m:
w.set_error("Committed [%s -> %s]" % (m.group(2), m.group(1))) w.set_error("Committed [%s -> %s]" % (m.group(2), m.group(1)))
return return