diff -r ebf1ef1c1615 -r 089b0a96a3c7 hg.rst --- 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.