hg convert using regexp in the filemap

Dr Rainer Woitok rainer.woitok at gmail.com
Mon Feb 28 14:55:13 UTC 2022


Uwe,

On Monday, 2022-02-28 08:15:31 +0100, you wrote:

> ...
> But the use of "  as in "include" confuses me and especially it confuses
> me that 
> 
> There is such a huge difference between 
> 
> include "Folien/teil3/images"
> 
> (Includes everything in the directory images
> And 
> 
> include Folien/teil3/images
> 
> Does not do anything

I haven't used "hg convert" myself since quite some time, but I found an
old "filemap" file on one of my laptops,  which does NOT contain quotes,
and which has worked then  (it dates from early 2014).   And "hg help -v
convert" produced with Mercurial 5.9.2  clearly states that the argument
following "include"  must equal "the full relative name of a file or one
of its parent directories".  No mention of quotes there.

Are you using  plain Mercurial or  some wrapper like Tortoise?   And are
the "include" lines you're quoting above  really taken verbatim from the
file specified via the "--filemap" option of "hg convert"?

Sincerely,
  Rainer



More information about the Mercurial mailing list