info-cvs
[Top][All Lists]
Advanced

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

RE: Checkout's over checkouts.


From: Rick Genter
Subject: RE: Checkout's over checkouts.
Date: Tue, 29 Mar 2005 06:43:55 -0800

> -----Original Message-----
> From: Jim.Hyslop [mailto:address@hidden 
> Sent: Tuesday, March 29, 2005 9:37 AM
> To: Rick Genter; Euan Guttridge; address@hidden
> Subject: RE: Checkout's over checkouts.
> 
> Rick Genter wrote:
> > [mailto:address@hidden On Behalf
Of
> > Euan Guttridge
> > > Sent: Tuesday, March 29, 2005 6:29 AM
> > > To: 'address@hidden'
> > > Subject: Checkout's over checkouts.
> > > 
> > > I want to check out a branch, then subsequent tagged files on top
of
> > that
> > > branch. I do not want to -j merge the subsequent tagged 
> > files into the
> > > branch but do a wholesale replacement. What is the best 
> > method please?
> > > 
> > > Thanks
> > 
> > I would do the following:
> > 
> > cvs co -rbranch module
> > cd module
> > cvs co -rtag file1 file2 ... fileN
> 
> That will not replace the files, just apply a sticky tag to your
working
> directory.
> 
> -- 
> Jim Hyslop
> Senior Software Designer
> Leitch Technology International Inc. ( http://www.leitch.com )
> Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )

You're right, of course. The last command should be

cvs up -rtag file1 file2 ... fileN

Witness the following session:

C:\workspace-4\Utility\src\com\silverlink\util>cvs status XML*.java
===================================================================
File: XML.java          Status: Up-to-date

   Working revision:    1.2
   Repository revision: 1.2
/home/cvs/Utility/src/com/silverlink/util/XML.java,v
   Sticky Tag:          rgenter_r3_5_1 (branch: 1.2.36)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: XMLChannel.java   Status: Up-to-date

   Working revision:    1.1.36.2
   Repository revision: 1.1.36.2
/home/cvs/Utility/src/com/silverlink/util/XMLChannel.java,v
   Sticky Tag:          rgenter_r3_5_1 (branch: 1.1.36)
   Sticky Date:         (none)
   Sticky Options:      (none)


C:\workspace-4\Utility\src\com\silverlink\util>cvs up -rr3_0_0
XMLChannel.java
U XMLChannel.java

C:\workspace-4\Utility\src\com\silverlink\util>cvs status XML*.java
===================================================================
File: XML.java          Status: Up-to-date

   Working revision:    1.2
   Repository revision: 1.2
/home/cvs/Utility/src/com/silverlink/util/XML.java,v
   Sticky Tag:          rgenter_r3_5_1 (branch: 1.2.36)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: XMLChannel.java   Status: Up-to-date

   Working revision:    1.1
   Repository revision: 1.1
/home/cvs/Utility/src/com/silverlink/util/XMLChannel.java,v
   Sticky Tag:          r3_0_0 (revision: 1.1)
   Sticky Date:         (none)
   Sticky Options:      (none)


C:\workspace-4\Utility\src\com\silverlink\util>

Too early in the morning...
--
Rick Genter
Principal Engineer
Silverlink Communications
<mailto:address@hidden>
(781) 272-3080 x242






reply via email to

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