shelve: drop an unused variable assignment
Caught by PyCharm. This stopped being used in
a3b285882724.
Differential Revision: https://phab.mercurial-scm.org/D7749
--- 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():