hg.rst
changeset 852 089b0a96a3c7
parent 851 ebf1ef1c1615
child 853 ccec7dd08cf2
--- a/hg.rst	Wed Mar 16 18:31:52 2011 +0200
+++ b/hg.rst	Wed Mar 16 18:46:03 2011 +0200
@@ -63,7 +63,23 @@
 
 * Clone specific branches.
 
-  $ hg clone http://your/repo -r $branchname
+  $ hg clone http://your/repo -r $branch
+
+* Closing branches.
+
+  $ hg branches
+$branch (inactive)
+...
+  $ hg branches -a
+...                     # no $branch
+  $ hg up -r $branch
+  $ hg ci --close-branch -m "Bla-bla-bla"
+  $ hg up -r default
+  $ hg branches
+...                     # no $branch
+  $ hg branches -c
+$branch (inactive)
+...
 
 * Remove/rename files history from repo.