Jim Perrier
2012-02-17 19:45:11 UTC
I was wondering if anyone could tell me how to match a tag to a branch?
I've inherited this working environment, so understand that I didn't
design the tagging naming system.
What I'm trying to do is create a shell script that I could supply the
build tag "DSC_4_0_I675" and
have it return the branch it belongs to.
*DSC_4_0_I420 belongs to DSC40*
T 2011-11-02 19:31 +0000 nmsbuilder tpapps [DSC40MAIN:DSC_4_0_I675]
I'm not sure what "A" stands for? HEAD maybe? I know DSC40MAIN was
created from the HEAD
It's also awkward when the reply returns the branch name before and
sometimes after the tag.
I'd appreciate any help you could give me.
I've inherited this working environment, so understand that I didn't
design the tagging naming system.
What I'm trying to do is create a shell script that I could supply the
build tag "DSC_4_0_I675" and
have it return the branch it belongs to.
*DSC_4_0_I420 belongs to DSC40*
cvs history -a -T | grep -w tpapps | grep DSC_4_0_I420
T 2011-11-02 05:29 +0000 nmsbuilder tpapps [DSC_4_0_I420:DSC40]cvs history -a -T | grep -w tpapps | grep DSC_4_0_I669
T 2011-10-27 07:43 +0000 nmsbuilder tpapps [DSC_4_0_I669:A]cvs history -a -T | grep -w tpapps | grep DSC_4_0_I675
T 2011-11-02 16:23 +0000 nmsbuilder tpapps [DSC_4_0_I675:A]T 2011-11-02 19:31 +0000 nmsbuilder tpapps [DSC40MAIN:DSC_4_0_I675]
cvs history -a -T | grep -w tpapps | grep DSC_4_0_I681
T 2011-11-08 06:31 +0000 nmsbuilder tpapps [DSC_4_0_I681:DSC40MAIN]I'm not sure what "A" stands for? HEAD maybe? I know DSC40MAIN was
created from the HEAD
It's also awkward when the reply returns the branch name before and
sometimes after the tag.
I'd appreciate any help you could give me.