mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
Revert "svn fetcher: warn people to switch to SRCREV"
1) too spammy 2) can be implemented in the metadata instead This reverts commit 8da9744fcdf856abebcfbe9e3bc1b8cf07bc317b. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
66b364cf8e
commit
e81fc749f3
@@ -60,14 +60,13 @@ class Svn(Fetch):
|
|||||||
ud.date = ud.parm['date']
|
ud.date = ud.parm['date']
|
||||||
ud.revision = ""
|
ud.revision = ""
|
||||||
else:
|
else:
|
||||||
|
#
|
||||||
# ***Nasty hack***
|
# ***Nasty hack***
|
||||||
# If DATE in unexpanded PV, use ud.date (which is set from SRCDATE)
|
# If DATE in unexpanded PV, use ud.date (which is set from SRCDATE)
|
||||||
# Should warn people to switch to SRCREV here
|
# Should warn people to switch to SRCREV here
|
||||||
#
|
#
|
||||||
pv = data.getVar("PV", d, 0)
|
pv = data.getVar("PV", d, 0)
|
||||||
if "DATE" in pv:
|
if "DATE" in pv:
|
||||||
f = data.getVar("FILE", d, 1)
|
|
||||||
logger.warn("You should switch to SRCREV; pv='%s' in %s" % (pv, f))
|
|
||||||
ud.revision = ""
|
ud.revision = ""
|
||||||
else:
|
else:
|
||||||
rev = Fetch.srcrev_internal_helper(ud, d)
|
rev = Fetch.srcrev_internal_helper(ud, d)
|
||||||
|
|||||||
Reference in New Issue
Block a user