changeset 45942 | 89a2afe31e82 |
parent 45860 | 073bb7563931 |
child 46113 | 59fa3890d40a |
--- a/mercurial/shelve.py Fri Nov 27 17:00:00 2020 -0500 +++ b/mercurial/shelve.py Fri Nov 27 17:03:29 2020 -0500 @@ -350,8 +350,7 @@ def _aborttransaction(repo, tr): - '''Abort current transaction for shelve/unshelve, but keep dirstate - ''' + """Abort current transaction for shelve/unshelve, but keep dirstate""" dirstatebackupname = b'dirstate.shelve' repo.dirstate.savebackup(tr, dirstatebackupname) tr.abort()