From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: SVN update in GNU Emacs 22.1.50
Date: Tue, 18 Sep 2007 16:25:02 +1000 [thread overview]
Message-ID: <874phstrr5.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.921.1189954627.18990.help-gnu-emacs@gnu.org
Peter Dyballa <Peter_Dyballa@Web.DE> 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
next parent reply other threads:[~2007-09-18 6:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.921.1189954627.18990.help-gnu-emacs@gnu.org>
2007-09-18 6:25 ` Tim X [this message]
2007-09-16 14:56 SVN update in GNU Emacs 22.1.50 Peter Dyballa
2007-09-16 17:54 ` Mathias Megyei
[not found] ` <mailman.923.1189965292.18990.help-gnu-emacs@gnu.org>
2007-09-16 21:46 ` David Kastrup
2007-09-17 12:19 ` Peter Dyballa
2007-09-20 3:29 ` Bill Wohler
[not found] ` <mailman.945.1190031581.18990.help-gnu-emacs@gnu.org>
2007-09-19 3:03 ` Stefan Monnier
2007-09-21 9:23 ` Peter Dyballa
2007-09-16 21:57 ` Eric Hanchrow
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874phstrr5.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).