Show More
@@ -2436,7 +2436,7 b' def commit(ui, repo, commitfunc, pats, o' | |||||
2436 | def amend(ui, repo, commitfunc, old, extra, pats, opts): |
|
2436 | def amend(ui, repo, commitfunc, old, extra, pats, opts): | |
2437 | # amend will reuse the existing user if not specified, but the obsolete |
|
2437 | # amend will reuse the existing user if not specified, but the obsolete | |
2438 | # marker creation requires that the current user's name is specified. |
|
2438 | # marker creation requires that the current user's name is specified. | |
2439 | if obsolete._enabled: |
|
2439 | if obsolete.isenabled(repo, obsolete.createmarkersopt): | |
2440 | ui.username() # raise exception if username not set |
|
2440 | ui.username() # raise exception if username not set | |
2441 |
|
2441 | |||
2442 | ui.note(_('amending changeset %s\n') % old) |
|
2442 | ui.note(_('amending changeset %s\n') % old) |
General Comments 0
You need to be logged in to leave comments.
Login now