unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13307: log-edit-extract-headers can break a bzr repository
@ 2012-12-30  8:41 Glenn Morris
  2013-01-12  3:16 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2012-12-30  8:41 UTC (permalink / raw)
  To: 13307

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#13307: log-edit-extract-headers can break a bzr repository
  2012-12-30  8:41 bug#13307: log-edit-extract-headers can break a bzr repository Glenn Morris
@ 2013-01-12  3:16 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2013-01-12  3:16 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 13307-done

> 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-12  3:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-30  8:41 bug#13307: log-edit-extract-headers can break a bzr repository Glenn Morris
2013-01-12  3:16 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).