comparison tests/test-help.out @ 848:221628fe9b62

Always show short help when an unknown command is given.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 06 Aug 2005 14:04:59 +0100
parents f1555f48f884
children 8933ef744325
comparison
equal deleted inserted replaced
847:f1555f48f884 848:221628fe9b62
102 -X --exclude 102 -X --exclude
103 exclude path from search 103 exclude path from search
104 104
105 diff working directory (or selected files) 105 diff working directory (or selected files)
106 + hg help foo 106 + hg help foo
107 hg: unknown command foo 107 hg: unknown command 'foo'
108 basic hg commands (use "hg help" for more):
109
110 add add the specified files on the next commit
111 annotate show changeset information per file line
112 clone make a copy of an existing repository
113 commit commit the specified files or all outstanding changes
114 diff diff working directory (or selected files)
115 export dump the header and diffs for one or more changesets
116 init create a new repository in the current directory
117 log show the revision history of the repository or a single file
118 pull pull changes from the specified source
119 push push changes to the specified destination
120 remove remove the specified files on the next commit
121 revert revert modified files or dirs back to their unmodified states
122 serve export the repository via HTTP
123 status show changed files in the working directory
124 update update or merge working directory
108 + hg -q commands 125 + hg -q commands
109 hg: unknown command 'commands' 126 hg: unknown command 'commands'
110 add add the specified files on the next commit 127 basic hg commands (use "hg help" for more):
111 addremove add all new files, delete all missing files 128
112 annotate show changeset information per file line 129 add add the specified files on the next commit
113 cat output the latest or given revision of a file 130 annotate show changeset information per file line
114 clone make a copy of an existing repository 131 clone make a copy of an existing repository
115 commit commit the specified files or all outstanding changes 132 commit commit the specified files or all outstanding changes
116 copy mark a file as copied or renamed for the next commit 133 diff diff working directory (or selected files)
117 diff diff working directory (or selected files) 134 export dump the header and diffs for one or more changesets
118 export dump the header and diffs for one or more changesets 135 init create a new repository in the current directory
119 forget don't add the specified files on the next commit 136 log show the revision history of the repository or a single file
120 heads show current repository heads 137 pull pull changes from the specified source
121 help show help for a given command or all commands 138 push push changes to the specified destination
122 identify print information about the working copy 139 remove remove the specified files on the next commit
123 import import an ordered set of patches 140 revert revert modified files or dirs back to their unmodified states
124 init create a new repository in the current directory 141 serve export the repository via HTTP
125 locate locate files matching specific patterns 142 status show changed files in the working directory
126 log show the revision history of the repository or a single file 143 update update or merge working directory
127 manifest output the latest or given revision of the project manifest
128 parents show the parents of the working dir or revision
129 paths show path or list of available paths
130 pull pull changes from the specified source
131 push push changes to the specified destination
132 rawcommit raw commit interface
133 recover roll back an interrupted transaction
134 remove remove the specified files on the next commit
135 revert revert modified files or dirs back to their unmodified states
136 root print the root (top) of the current working dir
137 serve export the repository via HTTP
138 status show changed files in the working directory
139 tag add a tag for the current tip or a given revision
140 tags list repository tags
141 tip show the tip revision
142 undo undo the last commit or pull
143 update update or merge working directory
144 verify verify the integrity of the repository
145 version output version and copyright information