Show More
@@ -3039,7 +3039,6 b' def amend(ui, repo, commitfunc, old, ext' | |||||
3039 | ui.note(_('amending changeset %s\n') % old) |
|
3039 | ui.note(_('amending changeset %s\n') % old) | |
3040 | base = old.p1() |
|
3040 | base = old.p1() | |
3041 |
|
3041 | |||
3042 | newid = None |
|
|||
3043 | with repo.wlock(), repo.lock(), repo.transaction('amend'): |
|
3042 | with repo.wlock(), repo.lock(), repo.transaction('amend'): | |
3044 | # See if we got a message from -m or -l, if not, open the editor |
|
3043 | # See if we got a message from -m or -l, if not, open the editor | |
3045 | # with the message of the changeset to amend |
|
3044 | # with the message of the changeset to amend | |
@@ -3164,6 +3163,7 b' def amend(ui, repo, commitfunc, old, ext' | |||||
3164 | return old.node() |
|
3163 | return old.node() | |
3165 |
|
3164 | |||
3166 | ph = repo.ui.config('phases', 'new-commit', phases.draft) |
|
3165 | ph = repo.ui.config('phases', 'new-commit', phases.draft) | |
|
3166 | newid = None | |||
3167 | try: |
|
3167 | try: | |
3168 | if opts.get('secret'): |
|
3168 | if opts.get('secret'): | |
3169 | commitphase = 'secret' |
|
3169 | commitphase = 'secret' |
General Comments 0
You need to be logged in to leave comments.
Login now