add export, recover, and undo to the man page
authorjake@edge2.net
Mon, 30 May 2005 09:53:48 -0700
changeset 196 48827121af7e
parent 195 b98bcf66dd9d
child 197 b388603984fc
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	Mon May 30 08:42:00 2005 -0800
+++ b/doc/hg.1	Mon May 30 09:53:48 2005 -0700
@@ -110,6 +110,10 @@
 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
 
@@ -126,6 +130,10 @@
 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
 
@@ -141,6 +149,10 @@
 tags
 list the current tags
 
+.TP
+undo
+undo the last transaction
+
 .SH "ENVIRONMENT VARIABLES"
 
 .TP
--- a/doc/hg.1.html	Mon May 30 08:42:00 2005 -0800
+++ b/doc/hg.1.html	Mon May 30 09:53:48 2005 -0700
@@ -206,6 +206,15 @@
 
 </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>
@@ -243,6 +252,14 @@
 
 </dd>
 <dt>
+recover
+</dt>
+<dd>
+
+    rollback an interrupted transaction
+
+</dd>
+<dt>
 remove [files &#8230;]
 </dt>
 <dd>
@@ -279,6 +296,14 @@
     list the current tags
 
 </dd>
+<dt>
+undo
+</dt>
+<dd>
+
+    undo the last transaction
+
+</dd>
 </dl>
 <hr />
 <h2>ENVIRONMENT VARIABLES</h2>
@@ -411,7 +436,7 @@
 <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	Mon May 30 08:42:00 2005 -0800
+++ b/doc/hg.1.txt	Mon May 30 09:53:48 2005 -0700
@@ -100,6 +100,10 @@
     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
 
@@ -117,6 +121,9 @@
     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
@@ -134,6 +141,9 @@
 tags::
     list the current tags
 
+undo::
+    undo the last transaction
+
 ENVIRONMENT VARIABLES
 ---------------------
 HGMERGE::
--- a/hg	Mon May 30 08:42:00 2005 -0800
+++ b/hg	Mon May 30 09:53:48 2005 -0700
@@ -32,6 +32,7 @@
  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