Commits

Anonymous committed 01a2704

tutorial Display the help of appropriate command in section that need writting

  • Participants
  • Parent commits 32936a9

Comments (0)

Files changed (1)

tests/test-tutorial.t

 Splitting change
 ------------------
 
-histedit or uncommit
+This part is not written yet, but you can use either the `histedit` extension
+of the `uncommit` command to splitting a change.
+
+  $ hg help uncommit
+  hg uncommit [OPTION]... [NAME]
+  
+  move changes from parent revision to working directory
+  
+      Changes to selected files in parent revision appear again as uncommitted
+      changed in the working directory. A new revision without selected changes
+      is created, becomes the new parent and obsoletes the previous one.
+  
+      The --include option specify pattern to uncommit The --exclude option
+      specify pattern to keep in the commit
+  
+      Return 0 if changed files are uncommitted.
+  
+  options:
+  
+   -a --all                 uncommit all changes when no arguments given
+   -I --include PATTERN [+] include names matching the given patterns
+   -X --exclude PATTERN [+] exclude names matching the given patterns
+  
+  [+] marked option can be specified multiple times
+  
+  use "hg -v help uncommit" to show the global options
+
+
+The edit command of histedit can be used to split changeset:
+
 
 Collapsing change
 ------------------
 
-This can be done with hg fold but the tutorial part is not written yet.
+The tutorial part is not written yet but can use `hg fold`:
 
-
-
+  $ hg help fold
+  hg fold rev
+  
+  Fold multiple revisions into a single one
+  
+      Revision from your current working directory to the specified one are fold
+      as a new one replacing the other
+  
+      you can alternatively use --rev to explicitly specify revision to be fold
+      ignoring the current working directory parent.
+  
+  options:
+  
+   -r --rev VALUE [+] explicitly specify the full set of revision to fold
+  
+  [+] marked option can be specified multiple times
+  
+  use "hg -v help fold" to show the global options
 
 
 -----------------------