From: Chris Larson Date: Sat, 20 Nov 2010 23:35:14 +0000 (-0700) Subject: Revert "svn fetcher: warn people to switch to SRCREV" X-Git-Tag: 2011-1~3122 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e81fc749f34df0b6944849f217840b3a7a027af8;p=openembedded-core.git 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 --- diff --git a/bitbake/lib/bb/fetch/svn.py b/bitbake/lib/bb/fetch/svn.py index e53f59036d..dc35c9d121 100644 --- a/bitbake/lib/bb/fetch/svn.py +++ b/bitbake/lib/bb/fetch/svn.py @@ -60,14 +60,13 @@ class Svn(Fetch): ud.date = ud.parm['date'] ud.revision = "" else: + # # ***Nasty hack*** # If DATE in unexpanded PV, use ud.date (which is set from SRCDATE) # Should warn people to switch to SRCREV here # pv = data.getVar("PV", d, 0) 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 = "" else: rev = Fetch.srcrev_internal_helper(ud, d)