parent
63810fb143
commit
e695725a34
11
method.py
11
method.py
|
@ -1064,11 +1064,12 @@ class CvsCommit(Method):
|
|||
lines = data.split('\n')
|
||||
|
||||
if status == 0:
|
||||
m = self.regex.match(lines[-1])
|
||||
if m:
|
||||
w.set_error("Committed [%s -> %s]" % (m.group(2), m.group(1)))
|
||||
else:
|
||||
w.set_error("Up-to-date")
|
||||
for line in lines:
|
||||
m = self.regex.match(lines[-1])
|
||||
if m:
|
||||
w.set_error("Committed [%s -> %s]" % (m.group(2), m.group(1)))
|
||||
return
|
||||
w.set_error("Up-to-date")
|
||||
else:
|
||||
w.set_error("Problems with CVS commit: %d" % status)
|
||||
w.application.data_buffer("*Commit*", data, switch_to=True)
|
||||
|
|
Loading…
Reference in New Issue