parent
b8fe9de80e
commit
1b88f3c600
|
@ -1074,11 +1074,12 @@ class CvsCommit(Method):
|
|||
cmd = "cvs ci -m %r %r" % (vargs['msg'], path)
|
||||
(status, data) = commands.getstatusoutput(cmd)
|
||||
status = status >> 8
|
||||
lines = data.split('\n')
|
||||
|
||||
if status == 0:
|
||||
m = self.regex.match(lines[-1])
|
||||
if m:
|
||||
w.set_error("Committed [%s -> %s]" % (m.group(1), m.group(2)))
|
||||
w.set_error("Committed [%s -> %s]" % (m.group(2), m.group(1)))
|
||||
else:
|
||||
w.set_error("Up-to-date")
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue