changeset 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 3e4294aa7944
children bd3fa45c0662
files mercurial/shelve.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
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():