mq: expand help text for qdiff
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Sat, 17 May 2008 09:11:14 +0200
changeset 6606 088ba40585b9
parent 6566 30d3d531e11a
child 6607 75b506f0e571
child 6613 2f0522ce43b0
mq: expand help text for qdiff Thanks to Waldo for thinking about this and formulating some text.
hgext/mq.py
--- a/hgext/mq.py	Sat Apr 19 10:42:30 2008 +0200
+++ b/hgext/mq.py	Sat May 17 09:11:14 2008 +0200
@@ -1743,7 +1743,16 @@
     return ret
 
 def diff(ui, repo, *pats, **opts):
-    """diff of the current patch"""
+    """diff of the current patch and subsequent modifications
+    
+    Shows a diff which includes the current patch as well as any changes which
+    have been made in the working directory since the last refresh (thus
+    showing what the current patch would become after a qrefresh).
+    
+    Use 'hg diff' if you only want to see the changes made since the last
+    qrefresh, or 'hg export qtip' if you want to see changes made by the
+    current patch without including changes made since the qrefresh.
+    """
     repo.mq.diff(repo, pats, opts)
     return 0