Comment 0 for bug 651850

Revision history for this message
era (era) wrote :

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.