mercurial/dirstatemap.py
changeset 47514 559aee84b889
parent 47513 10e740292dff
child 47521 abed645b8e96
equal deleted inserted replaced
47513:10e740292dff 47514:559aee84b889
   171             # would be nice.
   171             # would be nice.
   172             if entry is not None:
   172             if entry is not None:
   173                 # backup the previous state
   173                 # backup the previous state
   174                 if entry.merged:  # merge
   174                 if entry.merged:  # merge
   175                     size = NONNORMAL
   175                     size = NONNORMAL
   176                 elif entry[0] == b'n' and entry[2] == FROM_P2:  # other parent
   176                 elif entry[0] == b'n' and entry.from_p2:
   177                     size = FROM_P2
   177                     size = FROM_P2
   178                     self.otherparentset.add(f)
   178                     self.otherparentset.add(f)
   179         if size == 0:
   179         if size == 0:
   180             self.copymap.pop(f, None)
   180             self.copymap.pop(f, None)
   181 
   181