Show More
@@ -50,7 +50,8 b" testedwith = 'internal'" | |||
|
50 | 50 | ('s', 'stdin', None, _('stdin')), |
|
51 | 51 | ('C', 'copy', None, _('detect copies')), |
|
52 | 52 | ('S', 'search', "", _('search'))], |
|
53 |
('hg git-diff-tree [OPTION]... NODE1 NODE2 [FILE]...') |
|
|
53 | ('hg git-diff-tree [OPTION]... NODE1 NODE2 [FILE]...'), | |
|
54 | inferrepo=True) | |
|
54 | 55 | def difftree(ui, repo, node1=None, node2=None, *files, **opts): |
|
55 | 56 | """diff trees from two commits""" |
|
56 | 57 | def __difftree(repo, node1, node2, files=[]): |
@@ -145,7 +146,8 b' def base(ui, repo, node1, node2):' | |||
|
145 | 146 | |
|
146 | 147 | @command('debug-cat-file', |
|
147 | 148 | [('s', 'stdin', None, _('stdin'))], |
|
148 |
_('hg debug-cat-file [OPTION]... TYPE FILE') |
|
|
149 | _('hg debug-cat-file [OPTION]... TYPE FILE'), | |
|
150 | inferrepo=True) | |
|
149 | 151 | def catfile(ui, repo, type=None, r=None, **opts): |
|
150 | 152 | """cat a specific revision""" |
|
151 | 153 | # in stdin mode, every line except the commit is prefixed with two |
@@ -344,5 +346,3 b' def view(ui, repo, *etc, **opts):' | |||
|
344 | 346 | cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc)) |
|
345 | 347 | ui.debug("running %s\n" % cmd) |
|
346 | 348 | util.system(cmd) |
|
347 | ||
|
348 | commands.inferrepo += " debug-diff-tree debug-cat-file" |
General Comments 0
You need to be logged in to leave comments.
Login now