hgext3rd/evolve/evolvecmd.py
changeset 3477 713e26a647f5
parent 3470 ece5cd58147d
child 3478 4a1ccae58323
equal deleted inserted replaced
3476:1e346044c7cf 3477:713e26a647f5
  1105 
  1105 
  1106     def progresscb():
  1106     def progresscb():
  1107         if revopt or allopt:
  1107         if revopt or allopt:
  1108             ui.progress(_('evolve'), seen, unit=_('changesets'), total=count)
  1108             ui.progress(_('evolve'), seen, unit=_('changesets'), total=count)
  1109 
  1109 
       
  1110     evolvestate = state.cmdstate(repo)
  1110     # Continuation handling
  1111     # Continuation handling
  1111     if contopt:
  1112     if contopt:
  1112         evolvestate = state.cmdstate(repo)
       
  1113         if not evolvestate:
  1113         if not evolvestate:
  1114             raise error.Abort('no evolve to continue')
  1114             raise error.Abort('no evolve to continue')
  1115         evolvestate.load()
  1115         evolvestate.load()
  1116         orig = repo[evolvestate['current']]
  1116         orig = repo[evolvestate['current']]
  1117         with repo.wlock(), repo.lock():
  1117         with repo.wlock(), repo.lock():