Patchwork D7749: shelve: drop an unused variable assignment

login
register
mail settings
Submitter phabricator
Date Dec. 30, 2019, 1:31 p.m.
Message ID <810c18ff77425f13b2dd1f65d31ca9a2@localhost.localdomain>
Download mbox | patch
Permalink /patch/44121/
State Not Applicable
Headers show

Comments

phabricator - Dec. 30, 2019, 1:31 p.m.
Closed by commit rHG414cb20e241e: shelve: drop an unused variable assignment (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7749?vs=18980&id=19009

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7749/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7749

AFFECTED FILES
  mercurial/shelve.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/mercurial/shelve.py b/mercurial/shelve.py
--- a/mercurial/shelve.py
+++ b/mercurial/shelve.py
@@ -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():