Mercurial > hg
diff hgext/shelve.py @ 22684:73d7de6f9b47
shelve: remove unused status variables
author | Martin von Zweigbergk <martinvonz@gmail.com> |
---|---|
date | Wed, 24 Sep 2014 17:18:57 -0700 |
parents | c5ece02fb211 |
children | 1533e642262d |
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)