changeset 780:020619c850bb stable

doc: enhance your fold help Refer to the two different for of using fold.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 22 Jan 2014 14:13:22 -0800
parents 6c773c46e2f7
children bc379b9ff48a
files docs/evolve-faq.rst
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docs/evolve-faq.rst	Wed Jan 22 14:12:44 2014 -0800
+++ b/docs/evolve-faq.rst	Wed Jan 22 14:13:22 2014 -0800
@@ -71,6 +71,12 @@
 
 You can use ``hg fold`` to collapse multiple changesets in a single one.
 
+It takes two forms:
+
+``hg fold <rev>`` folds everything from you current changeset to `<rev>`
+
+``hg fold -r <revset>`` fold everything changeset matching the revset together.
+
 Getting changes out of a commit
 ------------------------------------------------------------