psvn.el: cannot commit changes over Tramp; temp file is local
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subversion (Debian) |
New
|
Unknown
|
|||
subversion (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emacs23
When editing files in a remote SVN work directory, you cannot perform a commit from within Emacs, because one of the temporary files used in the commit is apparently created locally, not on the remote host where the SVN commit command is run.
Steps to repro:
1. Edit a file in a remote SVN work directory, e.g. C-x C-f /me@remote:
2. Make some local changes
3. Run M-x svn-status
4. Mark file.txt to be committed with *; press c to actually commit. Write a short log message in the *svn-log-edit* buffer
5. Attempt to commit with C-c C-c
Actual results:
The following message is displayed in the minibuffer:
svn failed:
Can't open file '/tmp/svn.
^M
Expected results:
Committed revision 12345
For debugging, (setq debug-on-error t) doesn't help in this situation, because the SVN error is not an Emacs error; Emacs simply displays the error message from the back end.
The function which removes temporary files used by psvn.el is called svn-status-
lucid$ apt-cache policy emacs23
emacs23:
Installed: 23.1+1-4ubuntu7
Candidate: 23.1+1-4ubuntu7
Version table:
*** 23.1+1-4ubuntu7 0
500 http://
100 /var/lib/
lucid$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Changed in subversion (Debian): | |
status: | Unknown → New |
Sorry, forgot to include Emacs version! Silly me ...