Splitting a repository

Mark A. Flacy mflacy at verizon.net
Sat May 19 16:25:29 UTC 2007


On 2007.05.19 10:41, Matthieu Moy wrote:
> Timo Sirainen <tss at iki.fi> writes:
> 
> > If I had to do this now, I would a write a script that looked up
> > changesets containing changes to files in wanted directories, exported
> > the changesets, dropped out changes for files outside the wanted dirs,
> > and imported the changesets to the new repository.
> 
> That's not so simple. What would you do with a changeset adding a file
> in lib/ and modifying one in auth/?

>From what I understood, he has *just* converted from CVS and he did not split his Hg repo into the three when he did so.  He would like to split the repo he has into three different ones, *before* he uses it.

In that case, the changed history won't be a real problem.





More information about the Mercurial mailing list