changeset 22684:73d7de6f9b47

shelve: remove unused status variables
author Martin von Zweigbergk <martinvonz@gmail.com>
date Wed, 24 Sep 2014 17:18:57 -0700
parents f1872fdc1c3c
children 753515d9e274
files hgext/shelve.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)