RE: get list of branches

2003-08-26 Thread Zieg, Mark
Euan Guttridge <[EMAIL PROTECTED]> writes:

> Is it possible to retrieve a list of branches in a repository?

I wrote this for my purposes...it may or may not suit yours:

http://www.zieg.com/pub/cvsMisc/index.html#cvsFileTags


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: get list of branches

2003-08-23 Thread Larry Jones
Eric Siegerman writes:
> 
> N.B.: There's a file $CVSROOT/CVSROOT/val-tags that is supposed
> to list all the tags (branch and revision tags both) in the repo,
> but it's not always accurate, so it's best not to depend on it.

The reason it's not always accurate is that it was never intended to be
a complete list of all the tags.  It's just a cache of recently
referenced tags that were found to be valid -- CVS will assume any tag
listed there to be valid rather than scanning the repository files to
find out for sure.

-Larry Jones

I think my cerebellum just fused. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: get list of branches

2003-08-22 Thread Mark D. Baushke
Euan Guttridge <[EMAIL PROTECTED]> writes:

> Is it possible to retrieve a list of branches in a repository?

Possible? Sure. Easy? Well, you need to do a 'cvs log' on your
repository and post-process it to get just the branch names.

If you want to hack a script that already does most of the job for you,
you could probably start with a copy of something like the cvs2cl.pl
perl script written by Karl Fogel. It allows you to post-process the
'cvs log' ourput of your repository and include the branches that it
finds.

Good luck,
-- Mark


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: get list of branches

2003-08-22 Thread Eric Siegerman
On Fri, Aug 22, 2003 at 09:39:21AM +0100, Euan Guttridge wrote:
> Is it possible to retrieve a list of branches in a repository?

Not easily.  Post-processing the output of "cvs stat -v" is about
the size of it.

N.B.: There's a file $CVSROOT/CVSROOT/val-tags that is supposed
to list all the tags (branch and revision tags both) in the repo,
but it's not always accurate, so it's best not to depend on it.

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
When I came back around from the dark side, there in front of me would
be the landing area where the crew was, and the Earth, all in the view
of my window. I couldn't help but think that there in front of me was
all of humanity, except me.
- Michael Collins, Apollo 11 Command Module Pilot



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


get list of branches

2003-08-22 Thread Euan Guttridge
Is it possible to retrieve a list of branches in a repository?


Thanks,
Euan


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs