info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Can we find all the branches on a module through some script?


From: Jerry Nairn
Subject: RE: Can we find all the branches on a module through some script?
Date: Mon, 26 Nov 2001 14:34:11 -0800

> From: jsk-intoto [mailto:address@hidden
> Sent: Wednesday, November 21, 2001 9:25 PM

> based on the branch the user is working on. Can we obtain the branches
> existing on the repository thru some script mechanism?

cvs -nq log -h something | \
        sed -n -e '/^symbolic/,/^keyword/ {
/[1-9][0-9]*\.[0-9][0-9]*\.0\.[0-9][0-9]*$/ p
}'

Will list all of the branches on something. The key thing here is tags which
have at least four numbers, and the next to last number is 0.
It occurs to me that this will not get those special branches created by
imports.
Jerry



reply via email to

[Prev in Thread] Current Thread [Next in Thread]