How do I ...

Augie Fackler lists at durin42.com
Thu Jan 14 20:14:38 UTC 2016


On Thu, Jan 14, 2016 at 11:57 AM, Lester Caine <lester at lsces.co.uk> wrote:
> Another problem which I'd like to resolve relates I think to 're-basing'
> or at least that is what I think I need.
>
> I have an SVN project which has some very useful commit history, but
> includes details across several directories handling legacy 'build'
> processes and other sample applications. One directory contains the
> active PHP application, so what I would like to do is put the code for
> the application into a top directory and only retain the commit history
> relating to that.
>
> This is one of those bits I use BC to copy the section I need to a new
> root directory on the web server and monitor changes via that, but
> making that a clean repository in it's own right will be tidier going
> forward.
>
> http://hg.lsces.org.uk/hg/phpgedview/file/e71f42314a87/phpGedView for
> reference.

I'm going to restate what I think you want to do to make sure I
understand, then give you a solution:

You want to take one subdirectory of your old Subversion repository
and turn that into a Mercurial repository with full history.

That's doable with both convert and hgsubversion. Either one should work fine.

>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk
> Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> https://selenic.com/mailman/listinfo/mercurial


More information about the Mercurial mailing list