Boost logo

Boost :

Subject: Re: [boost] [git] Mercurial?
From: Daniel James (dnljms_at_[hidden])
Date: 2012-03-26 06:14:42


On 26 March 2012 06:48, Martin Geisler <mg_at_[hidden]> wrote:
>
> You can split a Git or Mercurial repository into two new repositories
> and extract a sub-tree but you're rewriting history when you do it.
> Rewriting history implies getting new SHA-1 hash values for the
> changesets (since their content changes) and so you get *new* and
> unrelated repositories out of this.

git-subtree does annotate commits (in the commit message) so that it
can track transferring changes between the two repositories. I don't
know how well it works for transferring changes in both directions.
But I think it only allows you to extract a single directory; spirit
would need to extract two: boost/spirit and libs/spirit.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk