From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emory Smith Newsgroups: gmane.emacs.help Subject: Re: problem with vc-svn + tramp. Date: Tue, 13 Dec 2005 21:06:41 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134603529 7617 80.91.229.2 (14 Dec 2005 23:38:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2005 23:38:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 15 00:38:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmgB0-000133-95 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Dec 2005 00:36:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmgBX-0006JU-N7 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Dec 2005 18:37:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 13 Dec 2005 22:06:52 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:LOSiYXSbJWJWqA8+8VbxipH8H5o= Original-Lines: 50 Original-X-Trace: sv3-OT1zt9+kIrKeJo1NiHWk0+Q9HGh7GleVUmAGBitNNBqy1suQywbOCXsLuMY17e3xVbZzMv8Ti1g1Aai!w6UiModMGLgeUHSlJ260udPsEtUlzqYcmWnTUqEWUGoal9kxka6M Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:136314 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31940 Archived-At: George Nurser 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?) do note that you will no longer be able to use vc-svn if you do it this way. > Incidentally, now does the vc-svn mode compare with the psvn.el > available at http://www.xsteve.at/prg/vc_svn/ ? i have not used vc-svn recently, but i find psvn mode to work great. be sure to update psvn.el it regularly, as it is improved on almost a daily basis (and if you find it to be lacking some feature, you can email xsteve and youll probably find it included a few days later!) -emory