> -----Original Message----- > From: Jim.Hyslop [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 29, 2005 9:37 AM > To: Rick Genter; Euan Guttridge; [email protected] > Subject: RE: Checkout's over checkouts. > > Rick Genter wrote: > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Euan Guttridge > > > Sent: Tuesday, March 29, 2005 6:29 AM > > > To: '[email protected]' > > > 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:[EMAIL PROTECTED]> (781) 272-3080 x242 _______________________________________________ Info-cvs mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-cvs
