|
From: <ddk...@ki...> - 2004-07-22 00:58:29
|
Typically you can find CVS tags using the "cvs log" command on a file
that you know is in the distribution (or on the whole directory, and
parse out a list of unique revisions). This monstrosity will do the
trick:
$ cvs log 2> /dev/null | perl -e 'while (<>) { if (/^symbolic names:/) { while (<>) { if (/^\s+/) { /^\s+([^:]+):/; $n{$1} = 1; } else { last; } } } } print join("\n", sort keys %n), "\n";'
HtmlUnit-1dot1
HtmlUnit-1dot2
HtmlUnit-1dot2dot1
PRE_INPUT_CHANGE
mbowler
pre-dom-changes
start
Unfortunately, it doesn't look like there any tags for 1.3-pre1 (or even
1.2.3 for that matter). :(
The best you're going to be able to do is to update your CVS checkout
directory to a specific date, based upon the date of the files in the
ZIP archive (either 1.2.3 or 1.3-pre1). The command would look
something like this:
$ cd htmlunit
$ cvs update -D 2003-10-31 18:00 .
You can then verify that the CVS directory matches the distribution by
doing the following (-u is unified diff format; -r is recursive; -x CVS
ignores CVS directories and their contents):
$ diff -ur -x CVS htmlunit-1.2.3 htmlunit
There should be NO differences (other than perhaps some new files or
directories that weren't part of the ZIP file). If there ARE some
differences, then you must determine which (local) revision of that file
matches the released revision, then update it individually using:
$ cvs update -r X.Y.Z filename.ext
After doing that, you should be at the correct snapshot in CVS.
NOTE TO DEVELOPERS: If you have time to do something like this, it
would be very beneficial to tag the source for future use. It's never
too late to tag source in CVS as long as you've got all the correct
revisions of the files checked out!
Dave
On Wed, Jul 21, 2004 at 04:52:43PM -0700, Jeff Wong wrote:
> Mike,
>
> The build instructions state that I should be able to build using Maven or
> Ant. However, in the 1.2.3 and 1.3-pre1 zip files, I don't see any files
> named maven.xml or build.xml that would provide build instructions to
> tools.
>
> I downloaded the latest source from CVS and I notice that these files are
> there. Is there anyway I can download 1.3-pre1 from CVS? Is there a CVS
> tag for that?
>
> Jeff
|