Show More
@@ -40,6 +40,7 b' from . import (' | |||||
40 | dagparser, |
|
40 | dagparser, | |
41 | dagutil, |
|
41 | dagutil, | |
42 | destutil, |
|
42 | destutil, | |
|
43 | dirstateguard, | |||
43 | discovery, |
|
44 | discovery, | |
44 | encoding, |
|
45 | encoding, | |
45 | error, |
|
46 | error, | |
@@ -686,7 +687,7 b' def _dobackout(ui, repo, node=None, rev=' | |||||
686 | bheads = repo.branchheads(branch) |
|
687 | bheads = repo.branchheads(branch) | |
687 | rctx = scmutil.revsingle(repo, hex(parent)) |
|
688 | rctx = scmutil.revsingle(repo, hex(parent)) | |
688 | if not opts.get('merge') and op1 != node: |
|
689 | if not opts.get('merge') and op1 != node: | |
689 |
dsguard = |
|
690 | dsguard = dirstateguard.dirstateguard(repo, 'backout') | |
690 | try: |
|
691 | try: | |
691 | ui.setconfig('ui', 'forcemerge', opts.get('tool', ''), |
|
692 | ui.setconfig('ui', 'forcemerge', opts.get('tool', ''), | |
692 | 'backout') |
|
693 | 'backout') | |
@@ -4884,7 +4885,7 b' def import_(ui, repo, patch1=None, *patc' | |||||
4884 | lock = repo.lock() |
|
4885 | lock = repo.lock() | |
4885 | tr = repo.transaction('import') |
|
4886 | tr = repo.transaction('import') | |
4886 | else: |
|
4887 | else: | |
4887 |
dsguard = |
|
4888 | dsguard = dirstateguard.dirstateguard(repo, 'import') | |
4888 | parents = repo[None].parents() |
|
4889 | parents = repo[None].parents() | |
4889 | for patchurl in patches: |
|
4890 | for patchurl in patches: | |
4890 | if patchurl == '-': |
|
4891 | if patchurl == '-': |
General Comments 0
You need to be logged in to leave comments.
Login now