D1748: rebase: switch ui.log calls to common style
phillco (Phil Cohen)
phabricator at mercurial-scm.org
Fri Dec 22 21:08:15 EST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGbf556bd2f589: rebase: switch ui.log calls to common style (authored by phillco, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1748?vs=4586&id=4598
REVISION DETAIL
https://phab.mercurial-scm.org/D1748
AFFECTED FILES
hgext/rebase.py
CHANGE DETAILS
diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -390,9 +390,7 @@
else:
self.wctx = self.repo[None]
self.repo.ui.debug("rebasing on disk\n")
- self.repo.ui.log("rebase", "", {
- 'rebase_imm_used': self.wctx.isinmemory()
- })
+ self.repo.ui.log("rebase", "", rebase_imm_used=self.wctx.isinmemory())
def _performrebase(self, tr):
self._assignworkingcopy()
@@ -966,7 +964,7 @@
# stacks that include the WCP. However, I'm not yet sure where the cutoff
# is.
rebasingwcp = repo['.'].rev() in rebaseset
- ui.log("rebase", "", {'rebase_rebasing_wcp': rebasingwcp})
+ ui.log("rebase", "", rebase_rebasing_wcp=rebasingwcp)
if rbsrt.inmemory and rebasingwcp:
rbsrt.inmemory = False
# Check these since we did not before.
To: phillco, #hg-reviewers, quark, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list