mercurial/manifest.py
changeset 3148 adb246ce6736
parent 3140 1eb50c9d2649
child 3189 f3b939444c72
equal deleted inserted replaced
3147:97420a49188d 3148:adb246ce6736
   167                 else:
   167                 else:
   168                     l = ""
   168                     l = ""
   169                 if start == end and w[1] == 1:
   169                 if start == end and w[1] == 1:
   170                     # item we want to delete was not found, error out
   170                     # item we want to delete was not found, error out
   171                     raise AssertionError(
   171                     raise AssertionError(
   172                             _("failed to remove %s from manifest\n") % f)
   172                             _("failed to remove %s from manifest") % f)
   173                 if dstart != None and dstart <= start and dend >= start:
   173                 if dstart != None and dstart <= start and dend >= start:
   174                     if dend < end:
   174                     if dend < end:
   175                         dend = end
   175                         dend = end
   176                     if l:
   176                     if l:
   177                         dline.append(l)
   177                         dline.append(l)