Mercurial > public > mercurial-scm > hg
diff hgext/record.py @ 24278:0b94b68aace9
record: add interactive option to the commit command
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Wed, 11 Mar 2015 15:22:04 -0700 |
parents | 26a1c617e047 |
children | 7fcd9f4af49b |
line wrap: on
line diff
--- a/hgext/record.py Tue Mar 10 16:26:13 2015 -0700 +++ b/hgext/record.py Wed Mar 11 15:22:04 2015 -0700 @@ -18,7 +18,8 @@ @command("record", # same options as commit + white space diff options - commands.table['^commit|ci'][1][:] + commands.diffwsopts, + [c for c in commands.table['^commit|ci'][1][:] + if c[1] != "interactive"] + commands.diffwsopts, _('hg record [OPTION]... [FILE]...')) def record(ui, repo, *pats, **opts): '''interactively select changes to commit