mercurial/merge.py
branchstable
changeset 19951 d51c4d85ec23
parent 19929 ab2362e1672e
child 19987 ba6486076429
equal deleted inserted replaced
19950:cce7ab960312 19951:d51c4d85ec23
   723                 # call the hooks and exit early
   723                 # call the hooks and exit early
   724                 repo.hook('preupdate', throw=True, parent1=xp2, parent2='')
   724                 repo.hook('preupdate', throw=True, parent1=xp2, parent2='')
   725                 repo.hook('update', parent1=xp2, parent2='', error=0)
   725                 repo.hook('update', parent1=xp2, parent2='', error=0)
   726                 return 0, 0, 0, 0
   726                 return 0, 0, 0, 0
   727 
   727 
   728             if pa not in (p1, p2):  # nolinear
   728             if pa not in (p1, p2):  # nonlinear
   729                 dirty = wc.dirty(missing=True)
   729                 dirty = wc.dirty(missing=True)
   730                 if dirty or onode is None:
   730                 if dirty or onode is None:
   731                     # Branching is a bit strange to ensure we do the minimal
   731                     # Branching is a bit strange to ensure we do the minimal
   732                     # amount of call to obsolete.background.
   732                     # amount of call to obsolete.background.
   733                     foreground = obsolete.foreground(repo, [p1.node()])
   733                     foreground = obsolete.foreground(repo, [p1.node()])