info-cvs
[Top][All Lists]
Advanced

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

Re: RES: Checking out only files NEWER than given date/revision


From: Alek Lapuc
Subject: Re: RES: Checking out only files NEWER than given date/revision
Date: 6 May 2004 00:16:54 -0700

Hi Marcelo.

The reason is simple. At the begining of the project we had some
sources and include files supplied "out-of-the-box" with a commercial
product. Than we done some customizations -- some files were added,
some were changed, some were untouched.

The main idea is to filter out the untouched files, so they are
separated from out-of-the-box ones.

The reason for this is that files out-of-the-box can be automatically
patched while patching the whole product with official patch. The
patch is prepared outside to our project. Our changes are not known to
the product vendor, and most propably would be corrupted during such a
patch. But having original and customized files separated, we can
apply the patch and merge it manually to our sources if needed.

Filtering out the untouched files is to keep the directory structure
as clean as possible (it is huge and messy already as an
"out-of-the-box" product).

Of course the whole thing can be done with Perl/Bash scripting (as I
mentioned), but I was hoping that there is a little automagic switch
in CVS.


Best regards,
Alek


"Marcelo Carvalho Fernandes" <address@hidden> wrote in message 
news:<address@hidden>...
> Alek,
> 
> Why are you trying this ?
> 
> --------------------------
> Marcelo Carvalho Fernandes
> Smart Tech Consulting
> www.smartech.com.br
> Tel:(55)21-2532-6335 
> 
> 
> 
> 
> > -----Mensagem original-----
> > De: address@hidden
> > [mailto:address@hidden nome de Alek
> > Lapuc
> > Enviada em: quarta-feira, 5 de maio de 2004 05:59
> > Para: address@hidden
> > Assunto: Checking out only files NEWER than given date/revision
> > 
> > 
> > Hi all.
> > 
> > I've got somehow unusual problem. I need to checkout from my
> > repository files that have been modified _after_ some date or have
> > revision number _greater_ than given. And no others.
> > In other words I want to check out HEAD revision of the files that
> > have been modified lately and I want to discard files that have been
> > created upon module creation, but have not been modified during
> > development.
> > 
> > As far as documentation states I can checkout files modified _before_
> > given date, but as some would say: "It is _almost_ the thing I want to
> > do".
> > 
> > I've tried to search the web and archives of this list -- with no
> > success. Either I cannot form a proper querry or no one had dealt with
> > such a problem yet.
> > 
> > Of course, I could manually delete unwanted items (bleeehh!...) or
> > write a Perl/Bash script that will parse Entries file from CVS dir and
> > delete apropriate contents. But I keep that in reserve.
> > 
> > Thanks for any hints about that (or pointer to a place in the
> > Web/group archive).
> > 
> > Alek
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> >


reply via email to

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