Title: Branch tag for a particular revision
With respect to this, the only way I can figure out how to confirm what branch a particular file was commited onto is
 
use cvs history -a -c -D  to determine commits into a particular repository
use awk to pick out all the commits which resulted in the new file revision number having more than 2 digits (i.e. 1.2.3.1 and therefore being on a branch)
check out the branch I am interested in
determine if the files that were checked into the repository have the same version number as the corresponding files on the head of the branch (using cvs status)
 
This seems a long way around - has anyone an easier way to do it - even though I have my lovely bash script working now ;-)
-----Original Message-----
From: Moray B. Grieve
Sent: 25 September 2001 12:47
To: [EMAIL PROTECTED]
Subject: Branch tag for a particular revision

Is there a simple way to discover what branch a file was commited onto using only its revision number ( i.e. revision 1.3.2.1 was committed onto BRANCHX). I want to check for commits onto a particular branch. I can use cvs history to detect all commits into a repository, but cannot find out what branch a commit was made onto.

With many thanks for any help,

Moray Grieve

Reply via email to