[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $CVSROOT includes :local:

From: Larry Jones
Subject: Re: $CVSROOT includes :local:
Date: Wed, 3 Dec 2003 14:29:51 -0500 (EST)

Michael S. Tsirkin writes:
> However, I see in practice that it *does* include the access method!
> Is this a bug in CVS or my mistake in useage?

It's a bug in CVS.  I've just checked in a fix for the stable branch.  A
simple workaround is to simply not use :local: -- it's almost never

Here's the patch for anyone who wants it:

Index: expand_path.c
RCS file: /cvs/ccvs/src/expand_path.c,v
retrieving revision 1.21
retrieving revision
diff -u -r1.21 -r1.21.6.1
--- expand_path.c       9 Jan 2001 13:59:59 -0000       1.21
+++ expand_path.c       3 Dec 2003 19:22:01 -0000
@@ -272,7 +272,7 @@
     int line;
     if (strcmp (name, CVSROOT_ENV) == 0)
-       return current_parsed_root->original;
+       return current_parsed_root->directory;
     else if (strcmp (name, "RCSBIN") == 0)
        error (0, 0, "RCSBIN internal variable is no longer supported");

-Larry Jones

Hello, local Navy recruitment office?  Yes, this is an emergency... -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]