From: Bill Wohler <wohler@newt.com>
Subject: Re: problem with vc-svn + tramp.
Date: Wed, 14 Dec 2005 21:31:19 -0800 [thread overview]
Message-ID: <87fyovncyg.fsf@olgas.newt.com> (raw)
In-Reply-To: m2u0dc1fvy.fsf@laptop.local
Emory Smith <emory.smith@gmail.com> writes:
> George Nurser <agn@noc.soton.ac.uk> writes:
>
>> I am using emacs 22.0.50, running on a powerbook. When I use tramp to
>> edit a file in a subversion directory by doing ssh onto a SUN
>> workstation, it seems to automatically switch on the vc-svn mode. It
>> then keeps failing, with the message
>>
>> vc-do-command: Running svn...FAILED (status 127)
>
> ive had a lot trouble with this as well.
>
> heres a simple fix that works great for me.
>
> find the following function in vc-svn.el:
>
> (defun vc-svn-registered (file)
> "Check if FILE is SVN registered."
> (when (file-readable-p (expand-file-name ".svn/entries"
> (file-name-directory file)))
> (with-temp-buffer
> (cd (file-name-directory file))
> (condition-case nil
> (vc-svn-command t 0 file "status" "-v")
> ;; We can't find an `svn' executable. We could also deregister SVN.
> (file-error nil))
> (vc-svn-parse-status t)
> (eq 'SVN (vc-file-getprop file 'vc-backend)))))
>
> and replace it with:
>
> (defun vc-svn-registered (file)
> "Check if FILE is SVN registered."
> nil)
>
> this effectively disables vc-svn for all files. im sure theres a
> simpler / more elegant way of doing this ... (anyone?)
Stefan Monnier and I just made some changes to that function to fix a
problem that it had when you were editing files that you could not
write. Perhaps that's the problem you both describe? Please check out
the latest and see how it works for you.
>> Incidentally, now does the vc-svn mode compare with the psvn.el
>> available at http://www.xsteve.at/prg/vc_svn/ ?
psvn.el is to vc-svn.el as pcvs.el is to vc-cvs.el. It's essentially a
dired view of your files.
--
Bill Wohler <wohler@newt.com> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
next prev parent reply other threads:[~2005-12-15 5:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2356.1117407751.25862.help-gnu-emacs@gnu.org>
2005-12-14 4:06 ` problem with vc-svn + tramp Emory Smith
2005-12-15 5:31 ` Bill Wohler [this message]
2005-05-29 22:59 George Nurser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fyovncyg.fsf@olgas.newt.com \
--to=wohler@newt.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.