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 |