Show More
@@ -4,9 +4,9 b'' | |||||
4 | > cmdtable = {} |
|
4 | > cmdtable = {} | |
5 | > command = registrar.command(cmdtable) |
|
5 | > command = registrar.command(cmdtable) | |
6 | > @command(b'debugadddrop', |
|
6 | > @command(b'debugadddrop', | |
7 | > [('', 'drop', False, 'drop file from dirstate', 'FILE'), |
|
7 | > [(b'', b'drop', False, b'drop file from dirstate', b'FILE'), | |
8 | > ('', 'normal-lookup', False, 'add file to dirstate', 'FILE')], |
|
8 | > (b'', b'normal-lookup', False, b'add file to dirstate', b'FILE')], | |
9 | > 'hg debugadddrop') |
|
9 | > b'hg debugadddrop') | |
10 | > def debugadddrop(ui, repo, *pats, **opts): |
|
10 | > def debugadddrop(ui, repo, *pats, **opts): | |
11 | > '''Add or drop unnamed arguments to or from the dirstate''' |
|
11 | > '''Add or drop unnamed arguments to or from the dirstate''' | |
12 | > drop = opts.get('drop') |
|
12 | > drop = opts.get('drop') |
General Comments 0
You need to be logged in to leave comments.
Login now