From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Marc Armstrong" Newsgroups: gmane.emacs.help Subject: RE: SVN vs RCS - How do I disable svn version control in favour ofRCS Date: Wed, 17 Sep 2008 18:08:49 +0100 Message-ID: <5A37B7E65B70E84FB53B3C1F7CB99E9807E8DD@exbea03.s1.sol1.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C918E8.1C3E28A3" X-Trace: ger.gmane.org 1221671412 27962 80.91.229.12 (17 Sep 2008 17:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2008 17:10:12 +0000 (UTC) To: "Giorgos Keramidas" , , "David" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 17 19:11:05 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kg0YD-0005zo-Db for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2008 19:10:50 +0200 Original-Received: from localhost ([127.0.0.1]:57098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kg0XA-0008EF-VV for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2008 13:09:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kg0Wo-0008Dq-LF for help-gnu-emacs@gnu.org; Wed, 17 Sep 2008 13:09:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kg0Wn-0008DN-0d for help-gnu-emacs@gnu.org; Wed, 17 Sep 2008 13:09:22 -0400 Original-Received: from [199.232.76.173] (port=34216 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kg0Wm-0008DK-UI for help-gnu-emacs@gnu.org; Wed, 17 Sep 2008 13:09:20 -0400 Original-Received: from smtpa02.solution1.co.uk ([194.73.150.152]:2852) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kg0Wl-0002pT-DB for help-gnu-emacs@gnu.org; Wed, 17 Sep 2008 13:09:20 -0400 Original-Received: from smtpa02.solution1.co.uk (127.0.0.1) by smtpa02.solution1.co.uk (MlfMTA v3.2r9) id hq4sru0171sd for ; Wed, 17 Sep 2008 18:09:15 +0100 (envelope-from ) Original-Received: from exsha01.s1.sol1.co.uk ([10.250.9.80]) by smtpa02.solution1.co.uk (SMTP) with ESMTP; Wed, 17 Sep 2008 18:09:15 +0100 Original-Received: from exbea03.s1.sol1.co.uk ([10.250.9.132]) by exsha01.s1.sol1.co.uk with Microsoft SMTPSVC(6.0.3790.1830); Wed, 17 Sep 2008 18:09:14 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SVN vs RCS - How do I disable svn version control in favour ofRCS Thread-Index: AckY5ErH7lg6dK9MS0mrmzSAKpiUzAAAtT8g X-OriginalArrivalTime: 17 Sep 2008 17:09:14.0796 (UTC) FILETIME=[1C97CEC0:01C918E8] X-Mlf-Version: 6.2.0.9993 X-Mlf-UniqueId: o200809171709150150945 X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57732 Archived-At: This is a multi-part message in MIME format. ------_=_NextPart_001_01C918E8.1C3E28A3 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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=20 (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=3Dpelamiswave.com@gnu.org [mailto:help-gnu-emacs-bounces+m.armstrong=3Dpelamiswave.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" 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. | `---------------------------------------------------------------------- ------_=_NextPart_001_01C918E8.1C3E28A3 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable RE: SVN vs RCS - How do I disable svn version control in favour = ofRCS

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=3Dpelamiswave.com@gnu.org [mailto:help-gnu-emacs-bounces+m.armstrong=3Dpelamiswave.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.

|

`-------------------------------------------------------------------= ---

------_=_NextPart_001_01C918E8.1C3E28A3--