mercurial/merge.py
changeset 2916 834e147842d7
parent 2914 f28f4c850cd8
child 2917 dd032b0f02ac
--- a/mercurial/merge.py
+++ b/mercurial/merge.py
@@ -103,7 +103,7 @@ def update(repo, node, branchmerge=False
     # we care about merging
     repo.ui.note(_("resolving manifests\n"))
     repo.ui.debug(_(" overwrite %s branchmerge %s partial %s linear %s\n") %
-                  (overwrite, branchmerge, partial and True or False, linear_path))
+                  (overwrite, branchmerge, bool(partial), linear_path))
     repo.ui.debug(_(" ancestor %s local %s remote %s\n") %
                   (short(man), short(m1n), short(m2n)))