mercurial/copies.py
branchstable
changeset 42645 8c5a36805d5d
parent 42595 819712deac69
child 42707 3cffc7bbec26
equal deleted inserted replaced
42644:0795bbe8ed19 42645:8c5a36805d5d
   244             dbg('debug.copies:          time: %f seconds\n'
   244             dbg('debug.copies:          time: %f seconds\n'
   245                 % (util.timer() - start))
   245                 % (util.timer() - start))
   246     return cm
   246     return cm
   247 
   247 
   248 def _changesetforwardcopies(a, b, match):
   248 def _changesetforwardcopies(a, b, match):
   249     if a.rev() == node.nullrev:
   249     if a.rev() in (node.nullrev, b.rev()):
   250         return {}
   250         return {}
   251 
   251 
   252     repo = a.repo()
   252     repo = a.repo()
   253     children = {}
   253     children = {}
   254     cl = repo.changelog
   254     cl = repo.changelog