GNU bug report logs - #13307
log-edit-extract-headers can break a bzr repository

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sun, 30 Dec 2012 08:43:01 UTC

Severity: important

Found in version 24.2.91

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 13307 in the body.
You can then email your comments to 13307 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13307; Package emacs. (Sun, 30 Dec 2012 08:43:01 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: log-edit-extract-headers can break a bzr repository
Date: Sun, 30 Dec 2012 03:41:01 -0500
Package: emacs
Version: 24.2.91
Severity: important

I figured out how my recent bzr woes happened:

mkdir /tmp/foo
cd /tmp/foo
bzr init
touch file
bzr add file
bzr commit -m "commit"
echo foo >> file

emacs-24.2.91 -Q file &
C-x v v

In the vc-log buffer, enter the text between the --- lines below.
Note that the line immediately after the "Fixes:" line is not blank but
has an innocous single space character...

---
Fixes: debbugs:123
 

Commit message
---

This ends up passing: --fixes 'debbugs:123\n ' to bzr commit, and this
breaks bzr log.




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Sat, 12 Jan 2013 03:17:02 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Sat, 12 Jan 2013 03:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 13307-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 13307-done <at> debbugs.gnu.org
Subject: Re: bug#13307: log-edit-extract-headers can break a bzr repository
Date: Fri, 11 Jan 2013 22:16:20 -0500
> This ends up passing: --fixes 'debbugs:123\n ' to bzr commit, and this
> breaks bzr log.

I've installed a patch in vc-bzr.el to get rid of those newlines.


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 09 Feb 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.