changeset 25796 | 4eb8d8a44bf1 |
parent 25223 | 29be0450b667 |
child 25797 | cc9fb45986d4 |
--- a/hgext/record.py Wed Jul 15 03:43:16 2015 +0900 +++ b/hgext/record.py Wed Jul 15 04:45:58 2015 +0900 @@ -53,6 +53,10 @@ This command is not available when committing a merge.''' + if not ui.interactive(): + raise util.Abort(_('running non-interactively, use %s instead') % + 'commit') + opts["interactive"] = True backup = ui.backupconfig('experimental', 'crecord') try: