info-cvs
[Top][All Lists]
Advanced

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

Re: NEWBIE -- needs help in moving directories from one repositor y to a


From: Rob Helmer
Subject: Re: NEWBIE -- needs help in moving directories from one repositor y to another
Date: Tue, 10 Apr 2001 11:28:01 -0700
User-agent: Mutt/1.2.5i

Hello,


On Tue, Apr 10, 2001 at 02:20:39PM -0400, Luna, Glen wrote:
> Rob,
> 
> Thanks for the reply. 
> 
> Yes, I do want to capture the version history. The source repository
> is on a vendor's (for simplicity I'll call it Bob) host. In one of 
> Bob's root directories, there is our code (in subdirs) and there 
> is the Bob's code (in a couple of other subdirs). The coupling of our 
> code with the Bob's code has resulted in a product used by several 
> customers. We've maintained our code, under CVS, on Bob's host for at
> least five years and have a good working relationship. Bob's code is
> essentially COTS to us. Bob farms out his code to other clients.

Ok.

> 
> Up until last year our code development was maintained under a single 
> CVS repository - Bob's. Now, our group is producing other products. 
> And the code for these products are being maintained in CVS 
> repositories on our own hosts. We now want to move our code from
> Bob's machine and onto our own. Again, his code and ours are in the 
> same root directory but in different subdirs.
> 
> That's the core of my impending task.

Hmm, so are you looking to merge the code on Bob's machine with your
own, or will it supersede yours with the exception of the first
two subdirectories that you didn't want to move?

> 
> I don't know if the UIDs are the same. I'll have to ask the systems 
> folks. I'm betting that they are not. If they aren't, what problems
> could I face? What should I keep an eye on?

Well, the only really important thing is the GID. You want all the
the SetGID bit to be on all subdirectories, along with the write
bit. You probably have a "dev" or "cvs" group that owns all these
subdirectories.

Any user in this group will be able to write to the files in the
repository regardless of who owns the files. So just make sure
the GID is correct for both systems, if it is not then chown
all the subdirs correctly.

I'd recommend doing a full backup before you move your repositories
around directly like this ;)

> 
> Glen Luna
> 
> 


HTH,
Rob Helmer
Namodn



reply via email to

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