Miscellaneous jar improvements

Martin Buchholz martinrb at google.com
Thu Sep 10 13:05:38 PDT 2009


It was bugging me that hg log only shows the first line of the description,
when the full description is usually what you want.
Anyways, I just added the hg alias below in my .hgrc,
and seems to make me happier.

[alias]
logv = log --template='changeset:
{rev}:{node|short}\n{branches}{tags}{parents}user:
{author}\ndate:        {date|date}\n{desc}\n\n'

Martin

On Thu, Sep 10, 2009 at 10:39, Andrew Haley<aph at redhat.com> wrote:
> Andrew John Hughes wrote:
>> 2009/9/10 Andrew Haley <aph at redhat.com>:
>>> Andrew John Hughes wrote:
>>>> 2009/9/10 Andrew Haley <aph at redhat.com>:
>>>>> Martin Buchholz wrote:
>>>>>> On Thu, Sep 10, 2009 at 09:57, Andrew Haley<aph at redhat.com> wrote:
>>>>>>> Martin Buchholz wrote:
>>>>>>>> changeset:   1283:ff32c270102a
>>>>>>>> user:        martin
>>>>>>>> date:        Mon Jun 22 21:07:20 2009 -0700
>>>>>>>> summary:     6853806: Prefer (cd $dir && jar) to jar -C for performance reasons
>>>>> Weird, I can't find that changeset.  Got a URL?
>>>>>
>>>> changeset:   1341:ff32c270102a
>>>> user:        martin
>>>> date:        Mon Jun 22 21:07:20 2009 -0700
>>>> summary:     6853806: Prefer (cd $dir && jar) to jar -C for performance reasons
>>>>
>>>> http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/ff32c270102a
>>> Ta; no idea why i couldn't find it.
>>>
>>>> Oh the benefits of a useful summary...
>>>
>>> He.  That's not a summary, it's (almost) the entire comment!
>>
>> Ha, yeah.  The bugID per changeset thing does come in useful though
>> when you need to do this kind of lookup as you can just search the
>> output of hg log for the bug ID.
>
> I don't get it.  How does a summary line help searching?  You could just as
> easily, and more reliably, search the full log for the bug ID.
>
> Andrew.
>



More information about the distro-pkg-dev mailing list