hgext/convert/cvsps.py
changeset 7599 7bf7c073375e
parent 7573 8bea01a65391
child 7601 49355875c805
equal deleted inserted replaced
7598:26adfaccdf73 7599:7bf7c073375e
   261         elif state == 4:
   261         elif state == 4:
   262             # expecting '------' separator before first revision
   262             # expecting '------' separator before first revision
   263             if re_31.match(line):
   263             if re_31.match(line):
   264                 state = 5
   264                 state = 5
   265             else:
   265             else:
   266                 assert not re_32.match(line), _('Must have at least some revisions')
   266                 assert not re_32.match(line), _('must have at least some revisions')
   267 
   267 
   268         elif state == 5:
   268         elif state == 5:
   269             # expecting revision number and possibly (ignored) lock indication
   269             # expecting revision number and possibly (ignored) lock indication
   270             # we create the logentry here from values stored in states 0 to 4,
   270             # we create the logentry here from values stored in states 0 to 4,
   271             # as this state is re-entered for subsequent revisions of a file.
   271             # as this state is re-entered for subsequent revisions of a file.