comparison README @ 646:f12257bf8b91

README: document single-directory clones a little.
author Augie Fackler <durin42@gmail.com>
date Fri, 16 Jul 2010 16:50:08 -0500
parents ebecf034e52a
children a8d5eec1326b
comparison
equal deleted inserted replaced
645:3cb5042531fb 646:f12257bf8b91
46 46
47 Real example:: 47 Real example::
48 48
49 $ hg clone http://python-nose.googlecode.com/svn nose-hg 49 $ hg clone http://python-nose.googlecode.com/svn nose-hg
50 50
51 Note, you should pull from the root subversion directory, not specific 51 Note: there are two slightly different ways of cloning
52 folders (such as trunk). 52 repositories. The most common desire is to have all the
53 branches/tags/trunk from the svn repo, in which case you should clone
54 from one level above trunk (as in the example above.) If you instead
55 want to clone just a single directory rather than the complete
56 branches/tags/trunk structure of the repo, clone the specific
57 directory path. In the example above, to get *only* trunk, you would
58 clone `http://python-nose.googlecode.com/svn/trunk`.
53 59
54 Pull new revisions into an already-converted repo:: 60 Pull new revisions into an already-converted repo::
55 61
56 $ hg pull 62 $ hg pull
57 63