diff -r 346af7687c6f -r 89a2afe31e82 mercurial/shelve.py --- 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()