From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: SVN update in GNU Emacs 22.1.50 Date: Tue, 18 Sep 2007 16:25:02 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <874phstrr5.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190097641 14682 80.91.229.12 (18 Sep 2007 06:40:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 06:40:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 18 08:40:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IXWlB-0005kE-8E for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Sep 2007 08:40:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXWl9-0006UM-L0 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Sep 2007 02:40:35 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!sn-xt-sjc-02!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:QznwGHLbfPI9b7jbgEsORkSykCg= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 65 Original-Xref: shelby.stanford.edu gnu.emacs.help:152148 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:47657 Archived-At: Peter Dyballa writes: > Hello! > > I was trying to update a software by SVN. I launched GNU Emacs with - > Q and issued > > M-x load-library RET vc RET > > *Messages* added > > Loading vc... > Loading easymenu...done > Loading vc...done > > Then I issued > > M-x load-library RET vc-svn RET > > *Messages* added > > Loading vc-svn...done Loading > > Then I opened in dired the directory tree to update the software. I tried > > M-x vc-svn- TAB > > and received the answer > > [No match] > > What am I doing wrong? Assuming that vc-svn.el is providing interactive > commands in the kind of cvs-up? > As I understand it, the vc- stuff is not really directory based (as in CVS/Subversion) as it was originally developed for RCS style version control systems, which are based on files and uses a locking methodology. However, it has been extended and is capable of doing such things, but in a rather unusual way because it has kept the same key bindings (i.e. C-x v v etc). Persoanlly, I found this a little 'un-natural' and have never felt comfortable with it, though it does appear to work fine with svn. I think that if you go into a svn directory and try to check out a file to work on, it will automatically do an update if this is required (not jus the file you are going to work on). This can be affected by customize variables (in particular, the stay-local setting, which affects whether the system will check remote repositories). Also, the supported backends variable can have affect on how vc works. I persoanlly prefer using the PCL-CVS interface with the psvn.el add-on as it gives you a directory based interface rather than a file based one. When in your working directory, an svn-status command opens a buffer showing which files have been modified locally and which ones have been updated in the repository. You can then use keys like U to do an update, c to commit, a to add or A to add recursively etc. I find this fits better with my mental model of how subversion works. Tim -- tcross (at) rapttech dot com dot au