Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: hattya@g.o
Subject: Re: [gentoo-dev] [PATCH subversion.eclass] Export working copy information after the update.
Date: Sat, 27 Jul 2013 10:18:49
Message-Id: 20130727121853.21778d1c@gentoo.org
In Reply to: [gentoo-dev] [PATCH subversion.eclass] Export working copy information after the update. by "Michał Górny"
1 Dnia 2013-07-23, o godz. 20:46:15
2 Michał Górny <mgorny@g.o> napisał(a):
3
4 > Currently, subversion.eclass exports working working copy information
5 > such as ESVN_WC_REVISION two times: once before running 'svn up',
6 > and the second time in pkg_preinst(). As a result, between those two
7 > calls ESVN_WC_REVISION lists the *previous* working copy revision rather
8 > than the current one.
9 >
10 > This behavior is not exploited by any ebuild. Instead, all ebuilds that
11 > use ESVN_WC_REVISION either hack it around, or actually use the wrong
12 > revision mistakenly.
13 >
14 > The patch fixes the eclass to export working copy information *after*
15 > the update is done. Redundant call to subversion_wc_info is removed from
16 > pkg_preinst() as no ebuild needs the re-export.
17 >
18 > Fixes: https://bugs.gentoo.org/show_bug.cgi?id=282486
19
20 Committed.
21
22 --
23 Best regards,
24 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature