Clonning only from version and diff before pulls

Andrew Thompson andrewkt at aktzero.com
Wed Aug 17 15:56:24 CDT 2005


Quoting Daniel Santa Cruz <byteshack at gmail.com>:
> Call me hard-headed, but I'm having a hard time figuring out how to do
> this clone operation so that my new repo is still a hg repo, but only
> with the tip on it... help... please :)

You just don't do that with hg.

The benefit of a clone is that the hardlinked files take up only negligable
amounts of space(per Kevin's comment where hardlinks are available).

>> <snip> The case where this
>> wouldn't work is if you have patches that have not yet been accepted
>> upstream. That case seems to be exactly the target of the MQ extension,
>> although I haven't actually worked with it yet.

Now that helps me make some sense out of MQ.

> I create sandboxes every time, that's not a problem.  I like to think
> of them as pseudo-branches (pseudo, because they don't need the whole
> history).

-- 
Andrew Thompson
http://aktzero.com/



More information about the Mercurial mailing list