mercurial/copies.py
changeset 7622 4dd7b28003d2
parent 6762 f67d1468ac50
child 7873 4a4c7f6a5912
equal deleted inserted replaced
7621:6d891df43a5f 7622:4dd7b28003d2
   187     invalid = {}
   187     invalid = {}
   188     dirmove = {}
   188     dirmove = {}
   189 
   189 
   190     # examine each file copy for a potential directory move, which is
   190     # examine each file copy for a potential directory move, which is
   191     # when all the files in a directory are moved to a new directory
   191     # when all the files in a directory are moved to a new directory
   192     for dst, src in fullcopy.items():
   192     for dst, src in fullcopy.iteritems():
   193         dsrc, ddst = _dirname(src), _dirname(dst)
   193         dsrc, ddst = _dirname(src), _dirname(dst)
   194         if dsrc in invalid:
   194         if dsrc in invalid:
   195             # already seen to be uninteresting
   195             # already seen to be uninteresting
   196             continue
   196             continue
   197         elif dsrc in d1 and ddst in d1:
   197         elif dsrc in d1 and ddst in d1: