Mercurial > hg > pyhgsh
comparison hg @ 5:5f249577ac40
Don't complain that help is an unknown command
author | mpm@selenic.com |
---|---|
date | Tue, 03 May 2005 18:39:58 -0800 |
parents | 9117c6561b0b |
children | 7f16aaeed62f |
comparison
equal
deleted
inserted
replaced
4:ce3bd728b858 | 5:5f249577ac40 |
---|---|
231 | 231 |
232 print "%d files, %d changesets, %d total revisions" % (files, changesets, | 232 print "%d files, %d changesets, %d total revisions" % (files, changesets, |
233 revisions) | 233 revisions) |
234 | 234 |
235 else: | 235 else: |
236 if cmd != "help": | |
237 print "unknown command\n" | |
238 | |
236 print """\ | 239 print """\ |
237 unknown command | |
238 | |
239 commands: | 240 commands: |
240 | 241 |
241 init create a new repository in this directory | 242 init create a new repository in this directory |
242 branch <path> create a branch of <path> in this directory | 243 branch <path> create a branch of <path> in this directory |
243 merge <path> merge changes from <path> into local repository | 244 merge <path> merge changes from <path> into local repository |