hgext/histedit.py
changeset 43793 29adf0a087a1
parent 43664 bde66eb4051d
parent 43744 40db695040eb
child 43933 bde97bee321f
equal deleted inserted replaced
43790:765a9c299c44 43793:29adf0a087a1
  2601             backup = not nobackup
  2601             backup = not nobackup
  2602             repair.strip(ui, repo, roots, backup=backup)
  2602             repair.strip(ui, repo, roots, backup=backup)
  2603 
  2603 
  2604 
  2604 
  2605 def stripwrapper(orig, ui, repo, nodelist, *args, **kwargs):
  2605 def stripwrapper(orig, ui, repo, nodelist, *args, **kwargs):
  2606     if isinstance(nodelist, str):
  2606     if isinstance(nodelist, bytes):
  2607         nodelist = [nodelist]
  2607         nodelist = [nodelist]
  2608     state = histeditstate(repo)
  2608     state = histeditstate(repo)
  2609     if state.inprogress():
  2609     if state.inprogress():
  2610         state.read()
  2610         state.read()
  2611         histedit_nodes = {
  2611         histedit_nodes = {