absorb: use ui.debug() instead of open-coding it
Differential Revision: https://phab.mercurial-scm.org/D4046
--- 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