tags:

views:

190

answers:

4

I've tried psvn.el, but the command to diff the file you're currently looking at is just hideous: M-x svn-file-show-svn-diff. I tried installing vc-svn.el, but couldn't get that working on my version of Emacs: GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) of 2004-03-10 on NYAUMO. I've tried putting a copy of vc-snv.el in my site-lisp dir, but when I try to run the command "M-x vc-diff" it says my file "is not under version control".

The emacs wiki page, which mainly focuses on vc-svn.el, seems to be horribly out of date, as many of the links do not work.

+1  A: 

In recent versions of Emacs SVN support is integrated. My Emacs 23 e.g. supports SVN out of the box.

baol
But that is still the same psvn.el, but arguably a newer version.
Dirk Eddelbuettel
+1  A: 

Out of the box Emacs supports a number of different version control systems, including SVN. If you use VC Directory Mode you get the ability to pick and choose what files go into each commit (but you don't get the per-hunk selection that you get with Magit and git). There is additional information there on how to integrate with Change Logs and re-use a ChangeLog entry as the VC commit message (or vice versa).

SkydiveMike
+5  A: 

Your emacs is six years old! Consider upgrading.

offby1
+5  A: 

You can take a look at dsvn - it was influenced originally by psvn. However, it can work more efficiently with large repositories containing many files and subdirectories. As a side note - you should really consider upgrading to Emacs 23 - it has loads of cool new features and most newer modes are not tested against older versions of Emacs such as 21, so you could run into unexpected problems.

Bozhidar Batsov
Thanks! I'll need some time to get used to this, but so far it seems really nice. At least it works and doesn't require you to type an entire novel to issue a command :P
allyourcode
What's the difference between psvn and dsvn? People write that "efficiently with large repositories containing many files and subdirectories", but what does that mean, more concretely?
arvixx