Jae, If you are using DOS then you are probably using CVSNT (it is free/GPL/open source just like CVS and comes with WinCVS and TortoiseCVS or can be downloaded separately).
A single sandbox (or even a single directory) can contain files form more than one repository and more than one branch. So it is not possible to find the branch for a directory. To find the branch file the file use the "cvs status <filename>" command. Alternatively if this is a script to run in a trigger then the feil CVS/Entries (in the current directory during script execution) can be examined to determine what branch the current file is on. The correct newsgroup for CVSNT questions is: http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt or news://news.cvsnt.org/support.cvsnt Regards, Arthur Barrett -----Original Message----- From: [EMAIL PROTECTED] on behalf of Talos Sent: Fri 11/5/2004 9:49 AM To: [EMAIL PROTECTED] Cc: Subject: DOS Command to get current branch? I'm new to CVS (having converted from the VSS world), and I'm still getting used to a lot of the concepts and commands. One of things I'm having trouble with is figuring out if I messed up when I do Updates. My question is: Is there a DOS command that let's you know what branch name the sandbox you're currently is? For example, suppose I created a new directory called "Branch A" from the main trunk. I now go into the Branch A directory, and do an update using a command line (and praying I didn't mess up the switches or names while doing so). Is there an easy way to verify that I actually got "Branch A"'s latest files/label by typing in a DOS command that tells me what the sandbox REALLY is? NOT what I think it is (I think it's the branch, since I named my sandbox "Branch A", but I'd like to be sure). I need to use DOS because I'm running some scripts to automatically bring down and build source code. I'm sure there's some nifty GUI ways to do this, but right now I'm really concerned about the DOS command (actually, it would be nice to know if you can do this using shells). Thanks, -- Jae _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
