split
Daniel Oberhoff
danieloberhoff at googlemail.com
Tue Apr 8 15:54:59 BST 2008
Am 08.04.2008 um 15:51 schrieb Matthieu Moy:
> Aaron Bentley <aaron at aaronbentley.com> writes:
>
>> Daniel Oberhoff wrote:
>>> Hmm, so there is no way to modify history?
>>
>> Not in a decentralized VCS. decentralized systems like this must be
>> write-once at the logical level, or else you have an inconsistent
>> system.
Hmm. What I want would be write once. I would simply like to be able
to check out only a subtree, and not the whole she-bang.
> To be more precise: you can write a new, different history, but not
> change the existing one (which is probably duplicated anywhere you
> don't have control). I don't think bzr has a native way to rewrite
> history to a subdirectory, but you can try to script that (trivial
> with a linear history - checkout a revision, copy a subdir to a fresh
> repository, commit there, and loop - but not so easy if you need to
> manage merges).
Sounds like something that could be done using fast-import. It already
has an interface for stream-processors, so one would simply need a
filter for this. I will have a go at it and get back here if I get
anywhere with it :). It might be enough for me, because in my case I
would really like to split the repo into two or more distinct parts
(that really do not have much common history).
Daniel
More information about the bazaar
mailing list