##// END OF EJS Templates
Update tests to reflect walk changes.
Bryan O'Sullivan -
r736:1e84f101 default
parent child Browse files
Show More
@@ -118,7 +118,7 b' def revrange(ui, repo, revs, revlog=None'
118
118
119 def make_file(repo, r, pat, node=None,
119 def make_file(repo, r, pat, node=None,
120 total=None, seqno=None, revwidth=None, mode='wb'):
120 total=None, seqno=None, revwidth=None, mode='wb'):
121 if pat == '-':
121 if not pat or pat == '-':
122 if 'w' in mode: return sys.stdout
122 if 'w' in mode: return sys.stdout
123 else: return sys.stdin
123 else: return sys.stdin
124 node_expander = {
124 node_expander = {
@@ -1098,7 +1098,9 b' table = {'
1098 "addremove": (addremove, [], "hg addremove [FILES]"),
1098 "addremove": (addremove, [], "hg addremove [FILES]"),
1099 "^annotate":
1099 "^annotate":
1100 (annotate,
1100 (annotate,
1101 [('r', 'rev', '', 'revision'),
1101 [('I', 'include', [], 'include path in search'),
1102 ('X', 'exclude', [], 'exclude path from search'),
1103 ('r', 'rev', '', 'revision'),
1102 ('u', 'user', None, 'show user'),
1104 ('u', 'user', None, 'show user'),
1103 ('n', 'number', None, 'show revision number'),
1105 ('n', 'number', None, 'show revision number'),
1104 ('c', 'changeset', None, 'show changeset')],
1106 ('c', 'changeset', None, 'show changeset')],
@@ -33,15 +33,29 b' basic hg commands (use "hg help -v" for '
33 status show changed files in the working directory
33 status show changed files in the working directory
34 update update or merge working directory
34 update update or merge working directory
35 hg add: option -h not recognized
35 hg add: option -h not recognized
36 hg add FILE...
36 hg add [OPTIONS] [FILES]
37
38 -I --include
39 include path in search
40 -X --exclude
41 exclude path from search
37
42
38 add the specified files on the next commit
43 add the specified files on the next commit
39 hg add: option --skjdfks not recognized
44 hg add: option --skjdfks not recognized
40 hg add FILE...
45 hg add [OPTIONS] [FILES]
46
47 -I --include
48 include path in search
49 -X --exclude
50 exclude path from search
41
51
42 add the specified files on the next commit
52 add the specified files on the next commit
43 hg diff [-r REV1 [-r REV2]] [FILE]...
53 hg diff [-r REV1 [-r REV2]] [FILE]...
44
54
55 -I --include
56 include path in search
57 -X --exclude
58 exclude path from search
45 -r --rev
59 -r --rev
46 revision
60 revision
47
61
General Comments 0
You need to be logged in to leave comments. Login now