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