D7749: shelve: drop an unused variable assignment

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Mon Dec 30 13:31:50 UTC 2019


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

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():



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


More information about the Mercurial-devel mailing list