Package: subversion
Version: 1.5.1dfsg1-4
Severity: normal

Forwarding an Ubuntu bug to the upstream Debian subversion maintainers:
https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/651850

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
 /m...@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.

(From comment #2 in the Launchpad bug report, slightly revised):

The newest upstream[1] upstream[2] upstream[3] version at
http://www.xsteve.at/prg/emacs/psvn.el appears to have fixes related to
this in the function svn-log-edit-done

I can't seem to access the upstream[3] repo at
http://svn.collab.net/repos/svn/trunk/contrib/client-side/emacs -- I get
a 403 error.

$Id: psvn.el 40299 2009-10-29 19:38:54Z xsteve $

[1] Debian is Ubuntu's upstream for [subversion]
[2] [Apache Subversion] is Debian's upstream for [subversion]
[3] xsteve.at is [Subversion]'s upstream

(From comment #4 in the Launchpad bug report):

The latest debian subversion package seems to lack this fix. They mangle
the $Id$ tag so it's not clear which upstream version they are shipping.

I am the author of the Launchpad bug report, too.

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to