info-cvs
[Top][All Lists]
Advanced

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

Re: Asking CVS if a repository/module/tag exists.


From: David Taylor
Subject: Re: Asking CVS if a repository/module/tag exists.
Date: Thu, 30 Aug 2001 18:04:16 -0700

If you have history enabled, try:

grep '^T.*|tag|module$' repository/CVSROOT/history

The speed of "cvs rdiff" depends on the size of the module, but grep doesn't 
seem
to mind a long history. For example, on my box "cvs rdiff" took 9 minutes to
report  that a tag didn't exist in a module with 19058 files, while grep only
took a second to go through a 6.6MB history.

dtayl

John Daniel Doucette wrote:

> Thanks Larry!
>
> cvs rdiff  works like a charm, and it is much faster too!
>
> At 2001-08-28 Tuesday 09:41 -04004, Larry Jones wrote:
> >John Daniel Doucette writes:
> > >
> > > Given a <repository>, <module>, and <tag> is there a polite way to ask CVS
> > > if the combination exists, without actually checking it out, that would
> > > work in a make file.
> >
> >How about:
> >
> >         cvs -d <repository> rdiff -r <tag> -r <tag> <module>
> >
> >-Larry Jones
> >




reply via email to

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