[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-next-action RCS vs hg: copies the entry of ChangeLog
From: |
Uwe Brauer |
Subject: |
Re: vc-next-action RCS vs hg: copies the entry of ChangeLog |
Date: |
Mon, 19 Oct 2015 16:20:15 +0300 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) |
>>> "Dmitry" == Dmitry Gutov <address@hidden> writes:
> On 10/19/2015 01:57 PM, Uwe Brauer wrote:
>> I send you a possible hg log
>> hg log --template "commit {node}\nAuthor: {author}\nDate:
>> {date|rfc822date}\n{desc}\n{nofiles}\n"
>>
>> And for me it looks very much than the one of git, so one could just use
>> the same code.
>>
>> However you seem to prefer a different format.
>>
>> Could you please tell me what you have in mind?
> I don't know which template string that corresponds to, but for
> vc-print-log, we use the normal 'hg log' output.
> For vc-print-root-log, we currently use this template:
> (concat "{rev}:{ifeq(branch, 'default','', '{branch}')}"
> ":{bookmarks}:{tags}:{author|person}"
> " {date|shortdate} {desc|firstline}\\n")
> So we have two of them, and we probably want to modify each of them
> slightly, so that the messages are displayed in full.
Ok
However when I run
hg log --template "changeset: {rev}:{node|short}\ntag: {tags}\nuser:
{author}\nDate: {date|rfc822date}\ndescription: {desc}\n{nofiles}\n"
I obtain
,----
| changeset: 17:5d2e1c5cdb3c
| tag: tip
| user: Uwe Brauer <address@hidden>
| Date: Mon, 19 Oct 2015 13:51:29 +0300
| description: second commit
|
| * testhg.tex: my first one.
`----
While with
hg log -v
,----
| changeset: 17:5d2e1c5cdb3c
| tag: tip
| user: Uwe Brauer <address@hidden>
| date: Mon Oct 19 13:51:29 2015 +0300
| files: testhg.tex
| description:
| second commit
|
| * testhg.tex: my first one.
|
`----
So I think the new template should be fine or you want to fiddle me the
newlines?
How to implement that in is not entirely clear to me. Maybe a different
template for hg is needed?
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, (continued)
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Eli Zaretskii, 2015/10/19
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Uwe Brauer, 2015/10/19
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Dmitry Gutov, 2015/10/19
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Uwe Brauer, 2015/10/19
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Dmitry Gutov, 2015/10/19
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Uwe Brauer, 2015/10/19
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Dmitry Gutov, 2015/10/19
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog,
Uwe Brauer <=
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Dmitry Gutov, 2015/10/19
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Uwe Brauer, 2015/10/20
- Re: vc-next-action RCS vs hg: copies the entry of ChangeLog, Dmitry Gutov, 2015/10/20
- [Solved] (was: vc-next-action RCS vs hg: copies the entry of ChangeLog), Uwe Brauer, 2015/10/26
- Re: [Solved], Dmitry Gutov, 2015/10/27
- Re: [Solved], Uwe Brauer, 2015/10/27
- Re: [Solved], Dmitry Gutov, 2015/10/27
- Re: [Solved], Uwe Brauer, 2015/10/27
- [prop: change] (was: [Solved]), Uwe Brauer, 2015/10/27
- Re: [prop: change], Dmitry Gutov, 2015/10/27