Thanks for the patch. Does it work for you? I was wondering, if we need
\r\n for Windows. As I don't use Windows I can only test it on Linux...

Best regards,
Bastian

Am Freitag, den 31.10.2008, 02:21 -0700 schrieb
[EMAIL PROTECTED]:

> Got my act together and produced a patch file for this fix. Let me
> know if it is of use.
> 
> Regards,
> BraileTrail
> 
> # HG changeset patch
> # User david.smith
> # Date 1225443863 0
> # Node ID 87aeb13d61d82b62640e3dd28af8606bb074e16c
> # Parent  3133e8b9df250d180352bae8cbe57e9a36e34d47
> Fix problem passing newline character to batch files.
> 
> diff -r 3133e8b9df25 -r 87aeb13d61d8 src/com/vectrace/MercurialEclipse/
> commands/HgGLogClient.java
> --- a/src/com/vectrace/MercurialEclipse/commands/HgGLogClient.java    Wed
> Oct 29 23:03:05 2008 +0100
> +++ b/src/com/vectrace/MercurialEclipse/commands/HgGLogClient.java    Fri
> Oct 31 09:04:23 2008 +0000
> @@ -22,7 +22,7 @@
>          super("glog", (resource instanceof IFile) ?
> resource.getParent()
>                  : (IContainer) resource, false);
>          addOptions("--config", "extensions.graphlog=");
> -        addOptions("--template", "*{rev}\n"); // Removes everything
> +        addOptions("--template", "*{rev}\\n"); // Removes everything
> 
>          if (resource.getType() != IResource.PROJECT) {
>             addOptions(resource.getName());
> 
> --~--~---------~--~----~------------~-------~--~----~
> 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
> -~----------~----~----~----~------~----~------~--~---
> 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to