0

I have a repo with lots of version tags in it. I want to create a clone of that repo with just the changes for one of the tags.

So what I want to do is something like this hg clone -r 14 KilnRepoDev KilnRepoClient inside kiln and end up with 2 repo that I can clone down to my local machine - the dev build and a specific version.

How would I go about doing this - I can't get my head it.

flag

1 Answer

0

AFAIK a clone is always a complete clone of a repository. If you want a specific revision in your working directory the command to look for is hg update. Changes made to that working copy will create a new head when comitted, but at least can later be merged into the parent repository.

If you want only a part of a repository into a new one you might consider hg convert. Note that there will be no common way back then.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.