mercurial/shelve.py
changeset 49522 52dd7a43ad5c
parent 49521 f599a946181d
child 49527 a3356ab610fc
--- a/mercurial/shelve.py	Wed Oct 19 16:14:50 2022 -0400
+++ b/mercurial/shelve.py	Wed Oct 19 16:16:47 2022 -0400
@@ -1184,9 +1184,7 @@
         # to the original pctx.
 
         activebookmark = _backupactivebookmark(repo)
-        tmpwctx, addedbefore = _commitworkingcopychanges(
-            ui, repo, opts, pctx
-        )
+        tmpwctx, addedbefore = _commitworkingcopychanges(ui, repo, opts, pctx)
         repo, shelvectx = _unshelverestorecommit(ui, repo, tr, basename)
         _checkunshelveuntrackedproblems(ui, repo, shelvectx)
         branchtorestore = b''