[new-extension] hg breakout

Guido Ostkamp hg at ostkamp.fastmail.fm
Sat Sep 1 14:42:16 CDT 2007


Hello,

> Essien Ita Essien wrote:
>> Guido Ostkamp wrote:
>>> To be useful, I would have expected that your extension scans the old 
>>> repositories changesets to generate new changesets in the new 
>>> repository that contain just changes to files in the selected 
>>> directory, possibly by replaying those changes.
>> 
>> The bo-cut does just this, and bo-explode does this for all sub 
>> directories under the root of the repo.
>
> Actually, I re-read what you wrote here, and that's not quite what the 
> cut operation does. It actually inits a _new_ repo with the contents of 
> the _source_ directory. So the new repo 'broken out' actually has a 
> pristine history.

That's exactly the problem.

If I were the maintainer of a project, and I needed to split up a 
repository because it becomes hard to maintain due to its huge size, then 
the requirements would be to convert into a number of much smaller 
repositories but of course without loosing my history records.

Regards,

Guido


More information about the Mercurial-devel mailing list