BUG?find renamed files
Marcus
mh-mercurial at online.de
Tue Nov 12 13:40:34 UTC 2019
On 12/11/2019 14.20, Uwe Brauer wrote:
> hg log -r "adds(test_2.org)" --template "{file_copies"}
Surely there is a typo at the end of the line?!
> hg log -r "adds(annu-hoja2.tex)" --template "{file_copies}"
>
>
> I obtain hg: parse error: adds requires a pattern
>
> Is this a BUG?
I don't think so, but I'll leave that decision to the experts. However,
the logic behind detecting literals could perhaps be documented in more
detail. The file name should be quoted. Same with literals containing
space characters in some constructs, such as ‘date()’.
Cheers,
Marcus
More information about the Mercurial
mailing list