[cvsnt] How to export *only* files that have been committed *after* a certain date?

Bo Berglund Bo.Berglund at system3r.se
Wed Oct 8 13:11:36 BST 2003


Well,
if I tag the module then I will get *all* files present at that time and
this is not what the service pack is meant for.
Say we created a main setup (35 Mb) on 2003-09-15, then we worked on the
project some more and we had to modify 4-5 of the support files.
Now I want to create a service pack consisting of all files that were
revised *after* the 2003-09-15 main setup was created.
This should need the latest (HEAD) revision of the 4-5 changed files only.
Thus the service pack would come out under 1 Mb and can easily be distributed
by email.

I guess that the only way out is to do the following:
1) Create a command line program that can delete old files given a date
2) Check in this as a utility "deleteold.exe"
3) use the main script file to export all files for the project
4) export the deleteold.exe program
5) execute deleteold with the date supplied as a parameter
6) then execute the setup builder on the files that remain

I'll just go ahead and solve it this way.

/Bo

-----Original Message-----
From: Rob van Oostrum [mailto:lists at springwellfarms.ca]
Sent: den 8 oktober 2003 13:53
To: Bo Berglund
Subject: RE: [cvsnt] How to export *only* files that have been committed
*after* a certain date?


I don't think this is what export was designed for. What you need to do is
tag the repository at the point that you want to create the service pack.
That way you'll be able to go back in afterwards and recreate the service
pack, or at least see what it consisted of.

chrs
Rob

> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
> Of Bo Berglund
> Sent: October 8, 2003 7:24 AM
> To: CVS-NT Mailing list (E-mail); CVS-Gui Mailing List (E-mail)
> Subject: [cvsnt] How to export *only* files that have been committed
> *after* a certain date?
>
>
> I need to find "new" files in order to build a "service pack" and so I am
> looking for a way to export only files that have been committed
> on or after
> a certain date.
> If I use this:
> cvs export -D 2003-10-05 -d Test Module/submodule
>
> then I get all files that existed on that date even though they may have
> been committed much earlier.
>
> Is there a cvs command to do the opposite, retrieve *only* files committed
> on or *after* the given date?
>
> Or can a date range be given?
>
> Can't find any of these in the manuals....
>
> Best regards,
>
> Bo Berglund
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list