Changing the root of a Mercurial repository
Benoit Boissinot
bboissin at gmail.com
Fri Jul 13 09:21:44 CDT 2007
On 7/11/07, Stephen Gerstacker <sgerstacker at edpaymentsystems.com> wrote:
>
> I'd like to remove docs and libs and then make /src/Project the root. I'm
> still a bit new to hg, so I don't want to completely destroy everything :P.
>
If the repository is relatively small, you might be able to just hg rm
docs libs,
hg mv src/Project/* . ; hg rm src
(this will keep all the history, another solution might be using the
transplant extension if it supports path-based filtering)
regards,
Benoit
More information about the Mercurial
mailing list