To clone the ogre 2.0 do I have to specify the version? or just
hg clone https://bitbucket.org/sinbad/ogre
?
[SOLVED] HG Clone 2.0
-
- Gnome
- Posts: 379
- Joined: Fri Sep 16, 2011 4:54 pm
- x 10
[SOLVED] HG Clone 2.0
Last edited by iblues1976 on Wed Mar 26, 2014 7:34 pm, edited 1 time in total.
-
- OGRE Expert User
- Posts: 1119
- Joined: Sat Jan 01, 2011 7:57 pm
- x 217
Re: HG Clone 2.0
A clone is basically a complete local copy of the whole repository. It contains all branches (and all history for those branches, too).
So what you can do is either
to clone the whole repository and then update the working directory to the 2.0 branch, or you can ask clone to only download the one branch you want.
hg help clone:
So what you can do is either
Code: Select all
hg clone https://bitbucket.org/sinbad/ogre
hg checkout v2-0
hg help clone:
-b --branch BRANCH [+] clone only the specified branch
Code: Select all
hg clone https://bitbucket.org/sinbad/ogre -b v2-0
-
- Gnome
- Posts: 379
- Joined: Fri Sep 16, 2011 4:54 pm
- x 10