Show More
@@ -118,7 +118,7 b' def revrange(ui, repo, revs, revlog=None' | |||
|
118 | 118 | |
|
119 | 119 | def make_file(repo, r, pat, node=None, |
|
120 | 120 | total=None, seqno=None, revwidth=None, mode='wb'): |
|
121 | if pat == '-': | |
|
121 | if not pat or pat == '-': | |
|
122 | 122 | if 'w' in mode: return sys.stdout |
|
123 | 123 | else: return sys.stdin |
|
124 | 124 | node_expander = { |
@@ -1098,7 +1098,9 b' table = {' | |||
|
1098 | 1098 | "addremove": (addremove, [], "hg addremove [FILES]"), |
|
1099 | 1099 | "^annotate": |
|
1100 | 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 | 1104 | ('u', 'user', None, 'show user'), |
|
1103 | 1105 | ('n', 'number', None, 'show revision number'), |
|
1104 | 1106 | ('c', 'changeset', None, 'show changeset')], |
@@ -33,15 +33,29 b' basic hg commands (use "hg help -v" for ' | |||
|
33 | 33 | status show changed files in the working directory |
|
34 | 34 | update update or merge working directory |
|
35 | 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 | 43 | add the specified files on the next commit |
|
39 | 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 | 52 | add the specified files on the next commit |
|
43 | 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 | 59 | -r --rev |
|
46 | 60 | revision |
|
47 | 61 |
General Comments 0
You need to be logged in to leave comments.
Login now