GNU bug report logs -
#2872
diff from log-view not working for bzr
Previous Next
Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>
Date: Fri, 3 Apr 2009 02:20:03 UTC
Severity: serious
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2872 in the body.
You can then email your comments to 2872 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2872
; Package
emacs
.
(Fri, 03 Apr 2009 02:20:03 GMT)
Full text and
rfc822 format available.
Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Do a C-x v l on any file under bzr.
Put the point on some random log entry and type
d
And empty *vc-diff* window will appear.
The problem is that vc-bzr-diff gets called with the arguments REV1 == REV2.
And that happens because of this code in log-view-diff:
(log-view-msg-next)
(setq to (log-view-current-tag)) [1]
Given a log entry like this:
------------------------------------------------------------
revno: 295
`log-view-msg-next' puts the point at the beginning of the ----
line and `log-view-current-tag' returns the version of the _previous_
log entry. It happens because `log-view-current-tag' first does a
(forward-line 1) --> point will be at "revno" after that.
And then (re-search-backward log-view-message-re nil t)
which will find the current log entry.
So in conclusion code [1] fails to advance and find the next log
entry.
Severity set to `serious' from `normal'
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Fri, 03 Apr 2009 15:25:08 GMT)
Full text and
rfc822 format available.
Reply sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
(Tue, 07 Apr 2009 01:55:04 GMT)
Full text and
rfc822 format available.
Notification sent
to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
bug acknowledged by developer.
(Tue, 07 Apr 2009 01:55:05 GMT)
Full text and
rfc822 format available.
Message #10 received at 2872-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> Do a C-x v l on any file under bzr.
>
> Put the point on some random log entry and type
> d
> And empty *vc-diff* window will appear.
I've checked in a fix.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2872
; Package
emacs
.
(Tue, 07 Apr 2009 02:35:04 GMT)
Full text and
rfc822 format available.
Message #13 received at 2872 <at> emacsbugs.donarmstrong.com (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> writes:
> > Do a C-x v l on any file under bzr.
> >
> > Put the point on some random log entry and type
> > d
> > And empty *vc-diff* window will appear.
>
> I've checked in a fix.
The fix was too radical, log entries for merges don't work anymore.
They have a format like:
------------------------------------------------------------
revno: 123.1.4
committer:
branch nick: blah
timestamp: blah
message:
blah
------------------------------------------------------------
revno: 12.3.123
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2872
; Package
emacs
.
(Tue, 07 Apr 2009 04:15:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 07 Apr 2009 04:15:04 GMT)
Full text and
rfc822 format available.
Message #18 received at 2872 <at> emacsbugs.donarmstrong.com (full text, mbox):
Dan Nicolaescu <dann <at> ics.uci.edu> writes:
> The fix was too radical, log entries for merges don't work anymore.
>
> ------------------------------------------------------------
> revno: 123.1.4
> committer:
> branch nick: blah
> timestamp: blah
> message:
> blah
> ------------------------------------------------------------
> revno: 12.3.123
OK. I tweaked log-view-message-re to allow for spaces before the
"revno" string.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Tue, 05 May 2009 14:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 108 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.