[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using log-view-mode when a file name is not available
From: |
Stefan Monnier |
Subject: |
Re: using log-view-mode when a file name is not available |
Date: |
Fri, 22 Jun 2007 11:00:10 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
>> PS: for vc-hg.el and "hg log" output, check the new `log-view-mode' VC
>> operation I added in vc.el and which is now used in vc-bzr.el.
>> Basically, you should just define a vc-hg-log-view-mode derived mode.
> Thanks, I committed a change that did that.
> Now one issue is left: the file name does not appear in the hg (and
> bzr) log.
> log-view-mode really wants a file name when trying to do a diff
> between versions. Do you have any idea what to do about that?
IIRC the easiest solution is to have vc-hg-print-log insert the name just
before running "hg log".
Stefan