equal
deleted
inserted
replaced
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 = { |