Mercurial > hg
diff mercurial/shelve.py @ 43981:414cb20e241e
shelve: drop an unused variable assignment
Caught by PyCharm. This stopped being used in a3b285882724.
Differential Revision: https://phab.mercurial-scm.org/D7749
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Dec 2019 16:30:14 -0500 |
parents | 132470ee53fe |
children | cb8b67016110 69b091cdc506 |
line wrap: on
line diff
--- a/mercurial/shelve.py Fri Dec 27 14:58:02 2019 -0500 +++ b/mercurial/shelve.py Fri Dec 27 16:30:14 2019 -0500 @@ -557,8 +557,6 @@ match = scmutil.matchfiles(repo, repo[node].files()) _shelvecreatedcommit(repo, node, name, match) - if ui.formatted(): - desc = stringutil.ellipsis(desc, ui.termwidth()) ui.status(_(b'shelved as %s\n') % name) if opts[b'keep']: with repo.dirstate.parentchange():