add export, recover, and undo to the man page
authorjake@edge2.net
Mon, 30 May 2005 09:53:48 -0700
changeset 196 48827121af7e95fd6aed35b1e30963965cf67eb3
parent 195 b98bcf66dd9d69fffb32994d5b878fbbccb2c2d9
child 197 b388603984fc101875d3c6ff0ed319001bf4aac0
push id1
push usergszorc@mozilla.com
push dateWed, 18 Mar 2015 16:34:57 +0000
add export, recover, and undo to the man page add export to hg help
doc/hg.1
doc/hg.1.html
doc/hg.1.txt
hg
--- a/doc/hg.1
+++ b/doc/hg.1
@@ -105,47 +105,59 @@ generate a unified diff of the indicated
 dump <file> [revision]
 print the indicated revision of the file
 
 .TP
 dumpmanifest [revision]
 print the indicated revision of the manifest (list of version controlled files)
 
 .TP
+export [revision]
+print the changeset header (author, changeset hash, parent, and commit comment) and the diffs for a particular revision\&.
+
+.TP
 history
 print the revision history of the repository
 
 .TP
 init
 initialize a repository in the current directory
 
 .TP
 log <file>
 print the revision history of the specified file
 
 .TP
 merge <repository path>
 pull any changes from the specified repository to the repository in the current directory\&. Use the value of the HGMERGE environment variable as a program to resolve any merge conflicts between the two repositories\&. An implicit commit is done at the end of this process if there were any merge conflicts\&. Note that merge does not yet merge with changed files in the working dir\&.
 
 .TP
+recover
+rollback an interrupted transaction
+
+.TP
 remove [files ...]
 schedule the indicated files for removal from the repository at the next commit
 
 .TP
 serve [\-a addr \-n name \-p port \-t templatedir]
 this will start an http server, by default on port 8000, that will allow browsing the repository using the hgweb interface and will allow merging from the repository\&. \-a sets the interface address, \-p the port to listen on, \-n the name of the repository and \-t sets the location of the template directory\&.
 
 .TP
 status
 list new, changed, and missing files in the working directory
 
 .TP
 tags
 list the current tags
 
+.TP
+undo
+undo the last transaction
+
 .SH "ENVIRONMENT VARIABLES"
 
 .TP
 HGMERGE
 points to an executable to use for resolving merge conflicts, the program will be executed with four arguments: local file, remote file, ancestor file, and original filename\&.
 
 .TP
 HGUSER
--- a/doc/hg.1.html
+++ b/doc/hg.1.html
@@ -201,16 +201,25 @@ dumpmanifest [revision]
 </dt>
 <dd>
 
     print the indicated revision of the manifest (list of version controlled
     files)
 
 </dd>
 <dt>
+export [revision]
+</dt>
+<dd>
+
+    print the changeset header (author, changeset hash, parent, and commit
+    comment) and the diffs for a particular revision.
+
+</dd>
+<dt>
 history
 </dt>
 <dd>
 
     print the revision history of the repository
 
 </dd>
 <dt>
@@ -238,16 +247,24 @@ merge &lt;repository path&gt;
     current directory.  Use the value of the HGMERGE environment variable
     as a program to resolve any merge conflicts between the two repositories.
     An implicit commit is done at the end of this process if there were any
     merge conflicts.  Note that merge does not yet merge with changed files
     in the working dir.
 
 </dd>
 <dt>
+recover
+</dt>
+<dd>
+
+    rollback an interrupted transaction
+
+</dd>
+<dt>
 remove [files &#8230;]
 </dt>
 <dd>
 
     schedule the indicated files for removal from the repository at the next
     commit
 
 </dd>
@@ -274,16 +291,24 @@ status
 <dt>
 tags
 </dt>
 <dd>
 
     list the current tags
 
 </dd>
+<dt>
+undo
+</dt>
+<dd>
+
+    undo the last transaction
+
+</dd>
 </dl>
 <hr />
 <h2>ENVIRONMENT VARIABLES</h2>
 <dl>
 <dt>
 HGMERGE
 </dt>
 <dd>
@@ -406,12 +431,12 @@ Written by Matt Mackall &lt;mpm@selenic.
 Copyright &#169; 2005 Matt Mackall.
 Free use of this software is granted under the terms of the GNU General
 Public License (GPL).
 </p>
 <p></p>
 <p></p>
 <hr /><p><small>
 Version 0.5<br />
-Last updated 27-May-2005 15:07:30 MDT
+Last updated 27-May-2005 15:51:06 MDT
 </small></p>
 </body>
 </html>
--- a/doc/hg.1.txt
+++ b/doc/hg.1.txt
@@ -95,16 +95,20 @@ diff [-r revision] [-r revision] [files 
 
 dump <file> [revision]::
     print the indicated revision of the file
 
 dumpmanifest [revision]::
     print the indicated revision of the manifest (list of version controlled
     files)
 
+export [revision]::
+    print the changeset header (author, changeset hash, parent, and commit
+    comment) and the diffs for a particular revision.
+
 history::
     print the revision history of the repository
 
 init::
     initialize a repository in the current directory
 
 log <file>::
     print the revision history of the specified file
@@ -112,16 +116,19 @@ log <file>::
 merge <repository path>::
     pull any changes from the specified repository to the repository in the
     current directory.  Use the value of the HGMERGE environment variable
     as a program to resolve any merge conflicts between the two repositories.
     An implicit commit is done at the end of this process if there were any
     merge conflicts.  Note that merge does not yet merge with changed files
     in the working dir.
 
+recover::
+    rollback an interrupted transaction
+
 remove [files ...]::
     schedule the indicated files for removal from the repository at the next
     commit
 
 serve [-a addr -n name -p port -t templatedir]::
     this will start an http server, by default on port 8000, that will 
     allow browsing the repository using the hgweb interface and will allow 
     merging from the repository.  -a sets the interface address, -p the 
@@ -129,16 +136,19 @@ serve [-a addr -n name -p port -t templa
     location of the template directory.
 
 status::
     list new, changed, and missing files in the working directory
 
 tags::
     list the current tags
 
+undo::
+    undo the last transaction
+
 ENVIRONMENT VARIABLES
 ---------------------
 HGMERGE::
     points to an executable to use for resolving merge conflicts, the
     program will be executed with four arguments: local file, remote
     file, ancestor file, and original filename.
 
 HGUSER::
--- a/hg
+++ b/hg
@@ -27,16 +27,17 @@ def help():
  addremove             add all new files, delete all missing files
  annotate [files...]   show changeset number per file line
  branch <path>         create a branch of <path> in this directory
  checkout [changeset]  checkout the latest or given changeset
  commit                commit all changes to the repository
  diff [files...]       diff working directory (or selected files)
  dump <file> [rev]     dump the latest or given revision of a file
  dumpmanifest [rev]    dump the latest or given revision of the manifest
+ export <rev>          dump the changeset header and diffs for a revision
  history               show changeset history
  init                  create a new repository in this directory
  log <file>            show revision history of a single file
  merge <path>          merge changes from <path> into local repository
  recover               rollback an interrupted transaction
  remove [files...]     remove the given files in the next commit
  serve                 export the repository via HTTP
  status                show new, missing, and changed files in working dir