Clone specific branches.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 16 Mar 2011 18:31:52 +0200
changeset 851 ebf1ef1c1615
parent 850 76d34941eccf
child 852 089b0a96a3c7
Clone specific branches.
hg.rst
--- a/hg.rst	Wed Mar 09 10:22:04 2011 +0200
+++ b/hg.rst	Wed Mar 16 18:31:52 2011 +0200
@@ -61,6 +61,10 @@
   [defaults]
   log = -f
 
+* Clone specific branches.
+
+  $ hg clone http://your/repo -r $branchname
+
 * Remove/rename files history from repo.
 
   $ cat >filemap.txt <<EOF