Fwd: Enriching a file log by branches, tags and bookmarks

Dave S snidely.too at gmail.com
Thu Apr 2 17:33:47 UTC 2015


(Dang it, I was expecting usenet to make sure it got to the list for me)

---------- Forwarded message ----------
From: Dave S <snidely.too at gmail.com>
Date: Thu, Apr 2, 2015 at 10:32 AM
Subject: Re: Enriching a file log by branches, tags and bookmarks
To: Marc Strapetz <marc.strapetz at syntevo.com>


On Thu, Apr 2, 2015 at 7:54 AM, Marc Strapetz <marc.strapetz at syntevo.com>
wrote:

> Dave, sorry, I completely missed your reply.
>
>  Are you trying to track the history of individual files, rather than the
>> default of repository history?
>>
>
> Yes, I do.
>
> > hg log -f --template "{rev} {tags} {branch} {files}\n"
> > controllers/default.py
>
> Unfortunately this does not give me the desired information. I've tried
> with setup.py from Mercurial's own repository. Here are the first lines of
> output, which do not show up any tags at all:
>
> 17926  default setup.py
> 17732  default .hgignore mercurial/exewrapper.c setup.py
> 17709  default setup.py
> 17606  default mercurial/parsers.c mercurial/pathencode.c setup.py
> 17246  stable setup.py
> 17121  default setup.py
>
> And here is what I'm looking for:
>
> http://i.imgur.com/AYt885I.png
>
> Any more ideas?


Sorry, no, because it works for me.

57  default controllers/default.py
55  default controllers/default.py views/default/logzap.html
40 SVN4097 default controllers/default.py
39  default controllers/default.py


Note rev 40.

If you're using bookmarks instead of tags, there's another keyword you use
in the template, but I dosn't have any examples for you.

Dave
/dps




-- 
test signature -- please apply at front gate on Tuesdays only.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150402/557a2dfa/attachment-0002.html>


More information about the Mercurial mailing list