emacs-devel
[Top][All Lists]
Advanced

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

[prop: change] (was: [Solved])


From: Uwe Brauer
Subject: [prop: change] (was: [Solved])
Date: Tue, 27 Oct 2015 14:49:11 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux)

>>> "Dmitry" == Dmitry Gutov <address@hidden> writes:

> On 10/26/2015 06:35 PM, Uwe Brauer wrote:
>> There is however a two step procedure.
>> 
>> -  write a style file (I attach the correct one below)
>> 
>> -  then run hg log --style /path/to/hgstyle
>> 
>> And voila!

> Thank you the style file. I was able to turn it back into a template
> string, using what the Mercurial documentation calls the "list
> operator" (percent sign).

> I've also made some changes:

> - Removed 'tabindent', because 8-spaces indentation looks too much,
> and 'indent' doesn't work in my version of Mercurial (3.4).

I got it to work, sorry for the noise.


I changed your code to
(defvar vc-hg-log-format (concat "changeset:   {rev}:{node|short}\n"
                                 "{tags % 'tag:         {tag}\n'}"
                                 "{if(parents, 'parents:     {parents}\n')}"
                                 "user:        {author}\n"
                                 "Date:        {date|date}\n"
                                 "summary:     {tabindent(fill68(desc))}\n\n")
  "Mercurial log template for `vc-hg-print-log' long format.")

And it seems to me closer to «git log»




reply via email to

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