# HG changeset patch # User Augie Fackler # Date 1533162597 14400 # Node ID e930df0f9a5520c2d5b6af837ade10935fa56cdf # Parent a5c8c547633982fff67faecf872113142341df85 absorb: use ui.debug() instead of open-coding it Differential Revision: https://phab.mercurial-scm.org/D4046 diff -r a5c8c5476339 -r e930df0f9a55 hgext/absorb.py --- 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