changeset 33880:edf503e5dfd4

copies: fix misaligned lines
author Gábor Stefanik <gabor.stefanik@nng.com>
date Tue, 22 Aug 2017 16:16:39 +0200
parents 169baf3d1d3c
children 6a49c74b1e8f
files mercurial/copies.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/copies.py	Tue Aug 22 16:08:31 2017 +0200
+++ b/mercurial/copies.py	Tue Aug 22 16:16:39 2017 +0200
@@ -381,7 +381,7 @@
     # if we have a dirty endpoint, we need to trigger graft logic, and also
     # keep track of which endpoint is dirty
     dirtyc1 = not (base == _c1 or base.descendant(_c1))
-    dirtyc2 = not (base== _c2 or base.descendant(_c2))
+    dirtyc2 = not (base == _c2 or base.descendant(_c2))
     graft = dirtyc1 or dirtyc2
     tca = base
     if graft: