Show More
@@ -203,6 +203,7 b' from mercurial import (' | |||
|
203 | 203 | mergeutil, |
|
204 | 204 | node, |
|
205 | 205 | obsolete, |
|
206 | pycompat, | |
|
206 | 207 | registrar, |
|
207 | 208 | repair, |
|
208 | 209 | scmutil, |
@@ -541,9 +542,9 b' def commitfuncfor(repo, src):' | |||
|
541 | 542 | def commitfunc(**kwargs): |
|
542 | 543 | overrides = {('phases', 'new-commit'): phasemin} |
|
543 | 544 | with repo.ui.configoverride(overrides, 'histedit'): |
|
544 | extra = kwargs.get('extra', {}).copy() | |
|
545 | extra = kwargs.get(r'extra', {}).copy() | |
|
545 | 546 | extra['histedit_source'] = src.hex() |
|
546 | kwargs['extra'] = extra | |
|
547 | kwargs[r'extra'] = extra | |
|
547 | 548 | return repo.commit(**kwargs) |
|
548 | 549 | return commitfunc |
|
549 | 550 | |
@@ -1093,6 +1094,7 b' def _validateargs(ui, repo, state, freea' | |||
|
1093 | 1094 | _('histedit requires exactly one ancestor revision')) |
|
1094 | 1095 | |
|
1095 | 1096 | def _histedit(ui, repo, state, *freeargs, **opts): |
|
1097 | opts = pycompat.byteskwargs(opts) | |
|
1096 | 1098 | goal = _getgoal(opts) |
|
1097 | 1099 | revs = opts.get('rev', []) |
|
1098 | 1100 | rules = opts.get('commands', '') |
General Comments 0
You need to be logged in to leave comments.
Login now