info-cvs
[Top][All Lists]
Advanced

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

Re: Migrating from sourcesafe to cvs


From: Patrick Decat
Subject: Re: Migrating from sourcesafe to cvs
Date: Wed, 25 Jul 2001 11:06:09 +0200

Hi Jimmy,

I tried to share *files* from my 'test' module using this 'modules' file 
definitions:
test test
test_share1 test/subdir1 File3
test_share2 test/subdir2 File5
test_share  -a test_share1 test_share2

My 'test' module is made of the following files:
$CVSROOT/test/
$CVSROOT/test/File1,v
$CVSROOT/test/File2,v
$CVSROOT/test/subdir1
$CVSROOT/test/subdir1/File3,v
$CVSROOT/test/subdir1/File4,v
$CVSROOT/test/subdir2
$CVSROOT/test/subdir2/File5,v

Then, checking out this 'test_share' module results in the following:
> cvs co test_share
U test_share1/File3
U test_share2/File5

Because this test_share is just an alias which maps to multiple
modules, this creates multiple working directories.

The behaviour I try to meet is:
> cvs co test_share
U test_share/File3
U test_share/File5

which I found no easy solution to come with.

Do you any idea of how to achieve that with CVS ?

Thanks in advance,
Patrick.

PS: I tried this solution before trying symbolic links to files in the
       repository (which I agree does NOT work because of the locks
       created in the wrong directories).

----- Original Message ----- 
From: "Jimmy Rimmer" <address@hidden>
To: "'Wouter Brissinck'" <address@hidden>
Cc: "CVS Mailing List (E-mail)" <address@hidden>
Sent: Wednesday, July 25, 2001 1:10 AM
Subject: RE: Migrating from sourcesafe to cvs


> 
> 
> CVS has a feature called "alias modules" just for this purpose.  Described
> in the manual:
> http://www.cvshome.org/docs/manual/cvs_18.html#SEC156
> 
> Basically, shared files go into one (or more) directory/ies, and modules 
> are
> then defined to include that/those directory/ies with the regular module.
> 
> It doesn't use the specific word "shared," but that doesn't mean it isn't
> intended for that purpose.  It's kind of like "asynchronous i/o" versus
> "overlapped i/o" -- they're just two terms for the same thing, although if
> you use "overlapped" instead of "asynchronous" not everyone will know what
> you're talking about. :)
> 
> 
> -----------------------------------------------------------------------
>  Jimmy Rimmer, Software Engineer           address@hidden
> -----------------------------------------------------------------------
> "Keeping a positive attitude, if nothing else, will annoy enough people
>  along the way to make it worth the effort."                 --Lord Hep
> 
> 
> > -----Original Message-----
> > From: Wouter Brissinck [mailto:address@hidden
> > Sent: Tuesday, July 24, 2001 2:38 PM
> > To: Jimmy Rimmer; address@hidden; address@hidden;
> > address@hidden
> > Subject: Re: Migrating from sourcesafe to cvs
> >
> >
> > Hi,
> >
> > I am not saying CVS can't do it - in fact i'm still hoping
> > someone will tell
> > me the way.
> > With my "conclusion" i just mean that there is no "shared
> > files" chapter in
> > the CVS manual
> > and a "cvs share" command or something like that.  If there
> > is a way, it's
> > not a clean,
> > intended way of using CVS.
> >
> >
> > regards,
> >
> > w
> >
> >
> > ----- Original Message -----
> > From: "Jimmy Rimmer" <address@hidden>
> > To: "'Wouter Brissinck'" <address@hidden>
> > Sent: Tuesday, July 24, 2001 11:15 PM
> > Subject: RE: Migrating from sourcesafe to cvs
> >
> >
> > : That's not the correct conclusion -- it's just that the method he
> > suggested
> > : fails.  At my last job, we solved this problem by giving
> > the shared files
> > : their own module, and then defining that module as a
> > sub-module via the
> > : "modules" file in CVSROOT.
> > :
> > :
> > --------------------------------------------------------------
> > ---------
> > :  Jimmy Rimmer, Software Engineer
> > address@hidden
> > :
> > --------------------------------------------------------------
> > ---------
> > : "Keeping a positive attitude, if nothing else, will annoy
> > enough people
> > :  along the way to make it worth the effort."
> >  --Lord Hep
> > :
> > :
> > : > -----Original Message-----
> > : > From: Wouter Brissinck [mailto:address@hidden
> > : > Sent: Tuesday, July 24, 2001 12:24 PM
> > : > To: address@hidden; address@hidden;
> > address@hidden
> > : > Subject: Re: Migrating from sourcesafe to cvs
> > : >
> > : >
> > : > Hello,
> > : >
> > : > So, if i understand well, the idea with the symbolic links
> > : > fails because it
> > : > is not safely handled
> > : > by CVS in case several people try to access the same
> > : > directory or file at
> > : > the same time ?
> > : >
> > : > In any case, the conclusion seems to be that CVS doesn't have
> > : > a feature
> > : > supporting
> > : > shared files, so tools like WinCVS won't support it either.
> > : > Is there a
> > : > "whish-list" for
> > : > CVS development ? :-)
> > : >
> > : > Thanks for the info,
> > : >
> > : > w
> > : >
> > : >
> > : > _______________________________________________
> > : > Info-cvs mailing list
> > : > address@hidden
> > : > http://mail.gnu.org/mailman/listinfo/info-cvs
> > : >
> >
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

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