Splitting a project in two

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Jan 21 05:22:15 UTC 2014


On 01/20/2014 09:04 PM, hamann.w at t-online.de wrote:
> Hi,
>
> At some time I started to work on a remotely related project and placed that
> in a subfolder of the project (this has to do with the fact that the runtime used by
> both projects is the same, tries to be smarter on symlinks than I would want it to,
> and applies security exemptions to folder and subfolders)
> Now I would like to clean up things, and make the subfolder a project of its own
> I thought of cloning the entire project, deleting all but the subfolder, then moving everything
> from the subfolder into the main folder. Is there a better way?

You can use the convert extension to create a new repo from your old 
repo.  You can configure the conversion to just take a subpart of the 
history and to rename directory during the conversion.

  --
Pierre-Yves

>
> Regards
> Wolfgang
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial




More information about the Mercurial mailing list