view tests/test-help.out @ 612:9cd745437269

On Sat, Jul 02, 2005 at 02:11:34PM -0700, Matt Mackall wrote: # HG changeset patch # User Alecs King <alecsk@gmail.com> On Sat, Jul 02, 2005 at 02:11:34PM -0700, Matt Mackall wrote: > On Sun, Jul 03, 2005 at 12:49:27AM +0800, Alecs King wrote: > > Hg is really very nice. The only feature i miss from git is the > > whatchanged -p, which shows a diff along with a changeset. > > python before, i just dig into the mercurial/commands.py a while and > > see what diff(), dodiff(), export(), show_changeset(), log() would > > normally do. There might be one thing or two missed or wrong. But here > > it is: a '-d' option to 'hg log' showing the diff info. You can use 'hg > > log -d' to show the whole history with the diff or 'hg log -d <file>' to > > show that info of a particular file. And also works with the '-r' > > option. > > Let's use -p. We're going to be combining the global and per command > switch namespace shortly and the global -p will disappear. Okay. '-d' changed to '-p'. Just like 'whatchanged -p', now we have 'hg log -p'. > Also, the argument list for show_changeset is getting a bit unwieldy. This time i remain show_changeset untouched at all. Only changed some bits of log().
author Alecs King <alecsk@gmail.com>
date Mon, 04 Jul 2005 12:15:44 -0800
parents 9a8daeff0ffa
children 116b2d3f4554 c6b912f8b5b2
line wrap: on
line source

basic hg commands (use "hg help -v" for more):

 add        add the specified files on the next commit
 annotate   show changeset information per file line
 clone      make a copy of an existing repository
 commit     commit the specified files or all outstanding changes
 diff       diff working directory (or selected files)
 export     dump the header and diffs for one or more changesets
 init       create a new repository in the current directory
 log        show the revision history of the repository or a single file
 pull       pull changes from the specified source
 push       push changes to the specified destination
 remove     remove the specified files on the next commit
 revert     revert modified files or dirs back to their unmodified states
 serve      export the repository via HTTP
 status     show changed files in the working directory
 update     update or merge working directory
basic hg commands (use "hg help -v" for more):

 add        add the specified files on the next commit
 annotate   show changeset information per file line
 clone      make a copy of an existing repository
 commit     commit the specified files or all outstanding changes
 diff       diff working directory (or selected files)
 export     dump the header and diffs for one or more changesets
 init       create a new repository in the current directory
 log        show the revision history of the repository or a single file
 pull       pull changes from the specified source
 push       push changes to the specified destination
 remove     remove the specified files on the next commit
 revert     revert modified files or dirs back to their unmodified states
 serve      export the repository via HTTP
 status     show changed files in the working directory
 update     update or merge working directory
hg add: option -h not recognized
hg add [files]

add the specified files on the next commit
hg add: option --skjdfks not recognized
hg add [files]

add the specified files on the next commit
hg diff [-r A] [-r B] [files]

 -r --rev 
   revision

diff working directory (or selected files)
hg: unknown command foo
hg: unknown command 'commands'
basic hg commands (use "hg help -v" for more):

 add        add the specified files on the next commit
 annotate   show changeset information per file line
 clone      make a copy of an existing repository
 commit     commit the specified files or all outstanding changes
 diff       diff working directory (or selected files)
 export     dump the header and diffs for one or more changesets
 init       create a new repository in the current directory
 log        show the revision history of the repository or a single file
 pull       pull changes from the specified source
 push       push changes to the specified destination
 remove     remove the specified files on the next commit
 revert     revert modified files or dirs back to their unmodified states
 serve      export the repository via HTTP
 status     show changed files in the working directory
 update     update or merge working directory