Access Subversion from Emacs


Emacs is a feature-rich text editor, with perhaps, more editing commands than any other editor or word processor


There exists lots of documentation in Internet about this great editor, for example the following links are very useful:




Integration with Subversion


There exist several plugins for the integration of Emacs with Subversion
, but the best one is Svn Status Mode. It's work is based on previous plugins, like vc-svn and dsvn.



Installation


You can get the very latest version with any of the following commands:


  1. sudo svn export http://svn.collab.net/repos/svn/trunk/contrib/client-side/emacs/psvn.el /usr/share/emacs/site-lisp/psvn.el

  2. sudo wget -O /usr/share/emacs/site-lisp/psvn.el http://www.xsteve.at/prg/emacs/psvn.el

  3. sudo wget -O /usr/share/emacs/site-lisp/psvn.el http://svn.collab.net/repos/svn/trunk/contrib/client-side/emacs/psvn.el


Add the following line to your ~/.emacs


(require 'psvn)


How to use


From now on, you find a new menu entry Tools-->SVN Status in the XEmacs.


  • You can also launch the command Alt-x svn-status directory .

  • It opens a new buffer *svn-status* where you can see all files controlled by Subversion, with flags that indicate there state.

  • Inside the XEmacs you have a menu which gives you access to all kind of commands for commiting and more, if not, just have a look at the mentioned Wiki or issue the command Ctrl-h m.