parent
2b84e634c9
commit
6846b0dc3b
|
@ -1124,18 +1124,17 @@ class SvnCommit(Method):
|
||||||
status = status >> 8
|
status = status >> 8
|
||||||
lines = data.split('\n')
|
lines = data.split('\n')
|
||||||
|
|
||||||
try:
|
if status == 0:
|
||||||
if status != 0:
|
try:
|
||||||
raise Exception
|
for line in lines:
|
||||||
for line in lines:
|
m = self.regex.match(line)
|
||||||
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
|
except:
|
||||||
w.set_error("Up-to-date")
|
pass
|
||||||
except:
|
w.set_error("Problems with SVN commit: %d" % status)
|
||||||
w.set_error("Problems with SVN commit: %d" % status)
|
w.application.data_buffer("*Commit*", repr(lines), switch_to=True)
|
||||||
w.application.data_buffer("*Commit*", repr(lines), switch_to=True)
|
|
||||||
|
|
||||||
class SvnStatus(Method):
|
class SvnStatus(Method):
|
||||||
column = {
|
column = {
|
||||||
|
|
Loading…
Reference in New Issue