author | Martin von Zweigbergk <martinvonz@google.com> |
Mon, 19 Jun 2017 13:13:28 -0700 | |
changeset 32923 | e413609659cf |
parent 32922 | eb84b4ad41e5 |
child 32924 | f044295cdb7a |
--- a/mercurial/repair.py Mon Jun 19 11:24:21 2017 -0700 +++ b/mercurial/repair.py Mon Jun 19 13:13:28 2017 -0700 @@ -168,9 +168,7 @@ mfst = repo.manifestlog._revlog - curtr = repo.currenttransaction() - if curtr is not None: - del curtr # avoid carrying reference to transaction for nothing + if repo.currenttransaction() is not None: raise error.ProgrammingError('cannot strip from inside a transaction') try: