On Fri, Sep 27, 2019 at 2:54 AM Nathan Hartman <hartman.nathan_at_gmail.com> wrote:
>
> On Tue, Sep 24, 2019 at 2:22 AM Johan Corveleyn <jcorvel_at_gmail.com> wrote:
> > Contents of subversion-1.13.0-rc1.zip are identical to tags/1.13.0-rc1,
> > and to branches/1.13.x_at_1867053 (except for expected differences in
> > svn_version.h and svnpubsub, svnwcsub and nominate.pl (symlinks vs. file
> > contents), and generated files).
>
> What do you use to compare the tarball contents to a working copy?
Ah, good question :-).
I use GNU diff, from within cygwin, after performing an 'svn export
https://.../tags/1.13.0-rc1' and 'svn export
https://.../branches/1.13.x@XXX' (where XXX is the revision I get from
executing 'svn log -v --stop-on-copy https://.../tags/1.13.0-rc1',
i.e. the revision from which the tag was copied from the branch). Then
I inspect that diff manually / visually.
Also: before running the export, I change my system timezone to UTC,
so "$Date$" keywords are expanded identically as in the tarball (those
always contain UTC dates it seems). There might be another way to
force "UTC timezone" during export for keyword expansion, but I don't
know how (on Windows). On Linux it's easy to do I guess (for instance
just setting TZ=XXX).
The diff is quite small, except some "$HeadUrl$" keyword expansions
(if the tarball was created from the tag, and I'm comparing to the
branch export), some files that are only part of one or the other. And
unfortunately on Windows symlinks are not supported, so I get "link
.../nominate.pl" on the exported side vs. <entire contents of
nominate.pl> on the other side. But I'm quite used to scrolling
through that one. On *nix that won't be a problem I'm sure.
I guess comparing to both the tag and the
branch_at_REV-from-which-the-tag-was-created is a bit redundant, since I
can trust SVN that they'll be identical modulo the modifications that
were part of the 'tag commit'.
This is a bit of manual work (I could script some parts of it I
suppose), but I'm used to doing that while the tests are running in
another window. So when the tests are finished, I'm mostly ready to
sign and commit.
--
Johan
Received on 2019-09-27 09:41:42 CEST