[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Branch tag for a particular revision
From: |
Moray B. Grieve |
Subject: |
RE: Branch tag for a particular revision |
Date: |
Wed, 26 Sep 2001 14:10:26 +0100 |
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 ;-)
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