author | David Douard <david.douard@logilab.fr> |
Tue, 31 Jul 2012 15:23:01 +0200 | |
branch | stable |
changeset 409 | c4cc1d5eba7a |
parent 408 | 6b2f50c81967 |
child 410 | 598ff1df3b92 |
hgext/obsolete.py | file | annotate | diff | comparison | revisions |
--- a/hgext/obsolete.py Tue Jul 31 15:04:59 2012 +0200 +++ b/hgext/obsolete.py Tue Jul 31 15:23:01 2012 +0200 @@ -451,8 +451,11 @@ data = base85.b85decode(new) lock = repo.lock() try: - repo.obsstore.mergemarkers(data) - return 1 + try: + repo.obsstore.mergemarkers(data) + return 1 + except util.Abort: + return 0 finally: lock.release()