##// END OF EJS Templates
mq: propagate the return error of pop
Alexis S. L. Carvalho -
r4099:cf5580c1 default
parent child Browse files
Show More
@@ -1792,9 +1792,10 b' def pop(ui, repo, patch=None, **opts):'
1792 1792 localupdate = False
1793 1793 else:
1794 1794 q = repo.mq
1795 q.pop(repo, patch, force=opts['force'], update=localupdate, all=opts['all'])
1795 ret = q.pop(repo, patch, force=opts['force'], update=localupdate,
1796 all=opts['all'])
1796 1797 q.save_dirty()
1797 return 0
1798 return ret
1798 1799
1799 1800 def rename(ui, repo, patch, name=None, **opts):
1800 1801 """rename a patch
General Comments 0
You need to be logged in to leave comments. Login now