"bzr commit" w/ emacs fails to delete backup temp log file
Bug #40020 reported by
Kevin Cole
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
Using bzr (bazaar-ng) 0.8pre: When environment variables EDITOR and VISUAL are set to emacs, "bzr commit" respects the chosen editor. However, upon saving the log message and exiting, a bzr_log.
tags: | added: commit |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
To post a comment you must log in.
Well, it's up to emacs whether to make a backup file or not when saving. There's a variable which could be used to turn this on (or off).
I suppose we could look for typical backups of the temporary file and delete them too when it's deleted.
Perhaps better would be to store the message file in $TMPDIR and only copy it to the working directory after editing is complete, so that it's saved if the commit is interruped.