Mercurial > hg
changeset 38921:e930df0f9a55
absorb: use ui.debug() instead of open-coding it
Differential Revision: https://phab.mercurial-scm.org/D4046
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 01 Aug 2018 18:29:57 -0400 |
parents | a5c8c5476339 |
children | ec0697f4f9c9 |
files | hgext/absorb.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/absorb.py Wed Aug 01 18:24:43 2018 -0400 +++ b/hgext/absorb.py Wed Aug 01 18:29:57 2018 -0400 @@ -622,8 +622,7 @@ # sorting is necessary to eliminate ambiguity for the "double move" # case: "hg cp A B; hg cp A C; hg rm A", then only "B" can affect "A". for path in sorted(interestingpaths): - if self.ui.debugflag: - self.ui.write(_('calculating fixups for %s\n') % path) + self.ui.debug('calculating fixups for %s\n' % path) targetfctx = targetctx[path] fctxs, ctx2fctx = getfilestack(self.stack, path, seenfctxs) # ignore symbolic links or binary, or unchanged files