|
From: | Marc Armstrong |
Subject: | RE: SVN vs RCS - How do I disable svn version control in favour ofRCS |
Date: | Wed, 17 Sep 2008 18:08:49 +0100 |
Giorgios/David
Thanks for your responses. I have tried changing the handled backends variable but this makes no difference. I have solved my problem however, by changing the svn sub-directory name that emacs recognises as a repository i.e. in vc-svn.el I changed
(defconst vc-svn-admin-directory
(cond ((and (memq system-type '(cygwin windows-nt ms-dos))
(getenv "SVN_ASP_DOT_NET_HACK"))
"_svn")
(t ".svn"))
"The name of the \".svn\" subdirectory or its equivalent.")
To
(defconst vc-svn-admin-directory
(cond ((and (memq system-type '(cygwin windows-nt ms-dos))
(getenv "SVN_ASP_DOT_NET_HACK"))
"_svn")
(t ".svn_mja"))
"The name of the \".svn\" subdirectory or its equivalent.")
Best regards,
Marc.
-----Original Message-----
From: help-gnu-emacs-bounces+m.armstrong=pelamiswave.com@gnu.org [mailto:help-gnu-emacs-bounces+m.armstrong=pelamiswave.com@gnu.org] On Behalf Of Giorgos Keramidas
Sent: Wednesday, September 17, 2008 5:15 PM
To: help-gnu-emacs@gnu.org
Subject: Re: SVN vs RCS - How do I disable svn version control in favour ofRCS
On Wed, 17 Sep 2008 11:22:57 +0100, "Marc Armstrong" <m.armstrong@pelamiswave.com> wrote:
> Hello,
> I am currently working on a project which uses SVN as the primary
> version control system. However I like to use RCS for my local version
> control during development. Therefore, I typically would like to check
> out a complete build of software from our archives (using the tortoise
> tool), develop my software using emacs and RCS to control the changes
> I make, then check the final product back into subversion repository.
>
> My problem is that the files, which are already under svn control are
> recognized as such by emacs due to the local '.svn' directory, meaning
> I can't use RCS. I would appreciate very much if someone could advise
> me how to tell emacs to ignore the svn directory?
In Emacs 23.X (perhaps also in the released 22.X versions) you can
customize the value of `vc-handled-backends':
,---[ C-h v vc-handled-backends RET ]----------------------------------
|
| vc-handled-backends's value is
| (RCS CVS SVN SCCS Bzr Git Hg Mtn Arch)
|
| Documentation:
| List of version control backends for which VC will be used.
| Entries in this list will be tried in order to determine whether a
| file is under that sort of version control.
| Removing an entry from the list prevents VC from being activated
| when visiting a file managed by that backend.
| An empty list disables VC altogether.
|
`----------------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |