Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133757 - subversion.eclass: Set ESVN_REVISION variable after checkout/update
Summary: subversion.eclass: Set ESVN_REVISION variable after checkout/update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-19 02:10 UTC by Bruno
Modified: 2006-07-22 06:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add ESVN_REVISION variable (subversion.eclass.diff,461 bytes, patch)
2006-05-19 02:15 UTC, Bruno
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2006-05-19 02:10:10 UTC
Having the actual revision of source checked out (or updated) available to ebuilds is useful:

- ebuild can override project version where possible
  (makes it possible to report bugs telling the source revision)

- on compilation errors, can provide revision

I suggest setting variable ESVN_REVISION after checkout/update.
Comment 1 Bruno 2006-05-19 02:15:58 UTC
Created attachment 87047 [details, diff]
Patch to add ESVN_REVISION variable

Sugested patch to generate ESVN_REVISION variable
Comment 2 Akinori Hattori gentoo-dev 2006-07-22 06:55:44 UTC
Fixed in CVS.

subversion_wc_info function sets ESVN_WC_REVISION and ESVN_WC_URL variables.