How do I ...

Lester Caine lester at lsces.co.uk
Fri Jan 15 21:40:49 UTC 2016


On 15/01/16 16:54, Simon King wrote:
>     But would still like to do the same off the local hg repo?
> 
> The convert extension can do an hg-to-hg conversion. To only convert a
> single directory you'd pass a filemap with an include rule that
> specifies just that directory:
> 
> https://www.mercurial-scm.org/wiki/ConvertExtension#A--filemap

Created 'filter' file
---
include "phpGedView/."
exclude"conf"
exclude"db"
exclude"distribution"
exclude"fomat"
exclude"hooks"
exclude"locks"
exclude"PhPGedcom"
exclude"README.txt"
---

Basically exclude everything but phpGedView directory and include all of
that?

Sitting in the /srv/repo directory as working dir

hg convert phpgedview-svn pgv-web --filemap filter

but get
abort: log stream exception '160006 - No such revision 1'

( for the record the svn filtered clone took 5 hours in all )

-- 
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



More information about the Mercurial mailing list