bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28924: 25.3; All hg entries on single line possibly due to typo in v


From: gavenkoa
Subject: bug#28924: 25.3; All hg entries on single line possibly due to typo in vc-hg-root-log-format.
Date: Sat, 21 Oct 2017 18:17:13 +0300

In GNU Emacs 25.3.1 (x86_64-w64-mingw32)
 of 2017-09-17 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 10.0.15063

All changelog entries placed on one line on vc-print-root-log for HG with \n
symbols between entries.

When I changed:

 (defcustom vc-hg-root-log-format
   `(,(concat "{rev}:{ifeq(branch, 'default','', '{branch}')}"
              ":{bookmarks}:{tags}:{author|person}"
-             " {date|shortdate} {desc|firstline}\\n")
+             " {date|shortdate} {desc|firstline}\n")

it starts working fine.

I use hg.exe wrapper around Cygwin Python script hg, stripped version is:

  int main(int argc, char **argv) {
    execvp(cmd, argv);
  }

It comes after hg in PATH so execvp loads script instead itself.

-- 
http://defun.work/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]