Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good extension for working with SVN in Emacs?

Tags:

emacs

svn

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.

like image 613
allyourcode Avatar asked Mar 21 '10 23:03

allyourcode


3 Answers

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.

like image 84
Bozhidar Batsov Avatar answered Nov 15 '22 06:11

Bozhidar Batsov


Your emacs is six years old! Consider upgrading.

like image 36
offby1 Avatar answered Nov 15 '22 08:11

offby1


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).

like image 29
SkydiveMike Avatar answered Nov 15 '22 06:11

SkydiveMike