[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to replicate a direcoty from one location to another without cvs
From: |
Bulgrien, Kevin |
Subject: |
RE: How to replicate a direcoty from one location to another without cvs-check-in |
Date: |
Tue, 3 Jan 2012 14:02:40 -0600 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
g] On Behalf Of coolpaddy
> Sent: Wednesday, December 21, 2011 2:08 AM
> To: address@hidden
> Subject: How to replicate a direcoty from one location to
> another without cvs-check-in
>
> Hi,
>
> Is there any way in CVS to replicate already existing dir at
> some other
> location in same cvs repository?
>
> Example:
>
> Say I have following dir already checked-in into CVS:
>
> /cvsroot/coolpaddy/source/dir_to_be_copied
>
> Now I want to have dir_to_be_copied at /cvsroot/coolpaddy
> level too. I dont
> want to checkin again dir_to_be_copied as it is too big in
> size(around 10GB)
> and would take a lot time.
>
> Is there any alternate way to achieve the same?
>
> Thanks!
> ~paddy
Perhaps something like this?
mkdir /cvsroot
cd /cvsroot
cvs -d /path/to/repository co coolpaddy/source/dir_to_be_copied
cd coolpaddy
cvs -d /path/to/repository co -d dir_to_be_copied
coolpaddy/source/dir_to_be_copied
This presumes that /path/to/repository contains
coolpaddy/source/dir_to_be_copied,
but regardless the principle is that you can checkout a repository directory
into
the sandbox pretty much whereever you want to.
You can update both simply with:
cd /cvsroot
cvs update
You can commit from either directory and the committed files go to the same
place
in the repository
/path/to/repository/coolpaddy/source/dir_to_be_copied
There are still two copies in your sandbox, but only one in the repository.
---
Kevin R. Bulgrien
Design and Development Engineer
This message and/or attachments may include information subject to GD Corporate
Policy 07-105 and is intended to be accessed only by authorized personnel of
General Dynamics and approved service providers. Use, storage and transmission
are governed by General Dynamics and its policies. Contractual restrictions
apply to third parties. Recipients should refer to the policies or contract to
determine proper handling. Unauthorized review, use, disclosure or
distribution is prohibited. If you are not an intended recipient, please
contact the sender and destroy all copies of the original message.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: How to replicate a direcoty from one location to another without cvs-check-in,
Bulgrien, Kevin <=