mercurial/copies.py
changeset 40076 2e9378f62232
parent 40058 cf01616f8d96
child 40448 873f3682c8af
equal deleted inserted replaced
40075:ad8d8dc9be3f 40076:2e9378f62232
   210         if ofctx:
   210         if ofctx:
   211             if debug:
   211             if debug:
   212                 dbg('debug.copies:          rename of: %s\n' % ofctx._path)
   212                 dbg('debug.copies:          rename of: %s\n' % ofctx._path)
   213             cm[f] = ofctx.path()
   213             cm[f] = ofctx.path()
   214         if debug:
   214         if debug:
   215             dbg('debug.copies:          time: %s seconds\n'
   215             dbg('debug.copies:          time: %f seconds\n'
   216                 % (util.timer() - start))
   216                 % (util.timer() - start))
   217     return cm
   217     return cm
   218 
   218 
   219 def _forwardcopies(a, b, match=None):
   219 def _forwardcopies(a, b, match=None):
   220     """find {dst@b: src@a} copy mapping where a is an ancestor of b"""
   220     """find {dst@b: src@a} copy mapping where a is an ancestor of b"""