On 30 Oct, 15:11, "Bastian Doetsch" <[EMAIL PROTECTED]> wrote:
> Just the hint: I don't have the source available, but I think, actually
> we issue "hg glog --template '*{rev}\n'" with the "\n" not being
> visible in the console... Glog ist wanted, as we use it to construct the
> visual graph in the history view.
And that is the problem here. The "\n" is being converted to a
carriage return character, or is it a line feed? :) and that
terminates the input to the DOS batch file. When I execute the command
line directly it remains as 2 ASCII characters "\" + "n" until the
python script translates it.
As I now understand it, the newline is part of the template
definition.
If I escape the "\" characters in line 25 of HGlogClient:
addOptions("--template", "*{rev}\\n\\n"); // Removes
everything
then it works correctly with a batch file. Even better it still works
with hg.exe from the binary installer!
Thanks,
BraileTrail
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MercurialEclipse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mercurialeclipse?hl=en
-~----------~----~----~----~------~----~------~--~---