shelve: remove unused status variables
authorMartin von Zweigbergk <martinvonz@gmail.com>
Wed, 24 Sep 2014 17:18:57 -0700
changeset 22684 73d7de6f9b47
parent 22683 f1872fdc1c3c
child 22685 753515d9e274
shelve: remove unused status variables
hgext/shelve.py
--- a/hgext/shelve.py	Thu Oct 02 18:50:41 2014 -0500
+++ b/hgext/shelve.py	Wed Sep 24 17:18:57 2014 -0700
@@ -401,8 +401,7 @@
         files.extend(shelvectx.parents()[0].files())
 
         # revert will overwrite unknown files, so move them out of the way
-        m, a, r, d, u = repo.status(unknown=True)[:5]
-        for file in u:
+        for file in repo.status(unknown=True)[4]:
             if file in files:
                 util.rename(file, file + ".orig")
         ui.pushbuffer(True)