>>> "M" == Marcus  <mh-mercur...@online.de> writes:

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

Right.

hg log -r "adds(test_2.org)" --template "{file_copies}"

Is the correct syntax

   >> 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()’.

I confirm that 


hg log -r "adds('annu-hoja2.tex')" --template "{file_copies}"

Works but I am wondering why 


hg log -r "adds(test_2.org)" --template "{file_copies}"

Without the ' '  works

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to