Show More
@@ -81,8 +81,11 b' def dorecord(ui, repo, commitfunc, cmdsu' | |||||
81 | import merge as mergemod |
|
81 | import merge as mergemod | |
82 |
|
82 | |||
83 | if not ui.interactive(): |
|
83 | if not ui.interactive(): | |
84 | raise util.Abort(_('running non-interactively, use %s instead') % |
|
84 | if cmdsuggest: | |
85 | cmdsuggest) |
|
85 | msg = _('running non-interactively, use %s instead') % cmdsuggest | |
|
86 | else: | |||
|
87 | msg = _('running non-interactively') | |||
|
88 | raise util.Abort(msg) | |||
86 |
|
89 | |||
87 | # make sure username is set before going interactive |
|
90 | # make sure username is set before going interactive | |
88 | if not opts.get('user'): |
|
91 | if not opts.get('user'): |
General Comments 0
You need to be logged in to leave comments.
Login now