hgext/shelve.py
changeset 41008 e5d37558098a
parent 41007 a06dc62f1c82
child 41397 0bd56c291359
--- a/hgext/shelve.py	Mon May 07 17:08:17 2018 -0700
+++ b/hgext/shelve.py	Wed Dec 05 15:37:03 2018 -0800
@@ -41,7 +41,6 @@
     lock as lockmod,
     mdiff,
     merge,
-    narrowspec,
     node as nodemod,
     patch,
     phases,
@@ -327,11 +326,8 @@
     '''Abort current transaction for shelve/unshelve, but keep dirstate
     '''
     dirstatebackupname = 'dirstate.shelve'
-    narrowspecbackupname = 'narrowspec.shelve'
     repo.dirstate.savebackup(tr, dirstatebackupname)
-    narrowspec.savebackup(repo, narrowspecbackupname)
     tr.abort()
-    narrowspec.restorebackup(repo, narrowspecbackupname)
     repo.dirstate.restorebackup(None, dirstatebackupname)
 
 def getshelvename(repo, parent, opts):