# HG changeset patch # User Oleksandr Gavenko # Date 1300293963 -7200 # Node ID 089b0a96a3c77058933071eb0564d9ca218926b5 # Parent ebf1ef1c1615d685cd697886595327f4d0ff50bf Closing branches. 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.