[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Extended explanation of 'hg diff'.



# HG changeset patch
# User gmilos@xxxxxxxxxxxxxxxxxxxxx
# Node ID 82d686a6b63e69970ad9ab80f0bc945bd51ec2a2
# Parent  22ccddf93c40c7962109d1763d88b9f65af1f680

Extended explanation of 'hg diff'.

diff -r 22ccddf93c40 -r 82d686a6b63e docs/misc/hg-cheatsheet.txt
--- a/docs/misc/hg-cheatsheet.txt       Mon Jul  4 08:21:35 2005
+++ b/docs/misc/hg-cheatsheet.txt       Mon Jul  4 14:47:28 2005
@@ -3,7 +3,7 @@
 ================================
 
 Written by Andrew Warfield, extended by Michael Fetterman and Ian Pratt
-June 29, 2005
+June 29, 2005, extended by Grzegorz Milos 04 July 2005.
 
 Overview
 --------
@@ -121,7 +121,7 @@
 the current state of your working directory.  If you weren't already
 "updated" to your local repository's tip, you might be surprised to
 find yourself merging the results of the pull with a non-tip node in
-your local repository.  
+your local repository. 
 
 
 Revision History
@@ -258,6 +258,11 @@
 
 will generate a patch describing the diff between that changeset and 
 its parent.
+    
+To generate a patch between two specified revisions use:
+   hg diff -r A -r B [files]
+NB: BK syntax -rA..B isn't supported by Hg.   
+
 
 Pushing changesets to a parent repository
 -----------------------------------------
@@ -384,7 +389,7 @@
 Shows the differences between whatever changeset you most recently
 checked out, and your current working directory:
 
-   hg diff
+   hg diff 
 
 View an annotated version of a source file:
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.