2010-09-30 08:03:06 |
era |
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:/tmp/testcheckout/file.txt
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.arg.2331QTe': No such file or directory
^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-remove-temp-file-maybe; I guess it might be useful to instrument, replace, or advice this function to see what is being removed when. |
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:/tmp/testcheckout/file.txt
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.arg.2331QTe': No such file or directory
^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-remove-temp-file-maybe; I guess it might be useful to instrument, replace, or advice this function to see what is being removed when.
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://mirrors.nic.funet.fi/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
lucid$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
|
|