diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-11-20 16:35:14 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:42 +0000 |
commit | e81fc749f34df0b6944849f217840b3a7a027af8 (patch) | |
tree | 0d6915bb238ad218b6df3a736424bda895370879 | |
parent | 66b364cf8e2f7eb9113f3cedead61151e70215be (diff) | |
download | ast2050-yocto-poky-e81fc749f34df0b6944849f217840b3a7a027af8.zip ast2050-yocto-poky-e81fc749f34df0b6944849f217840b3a7a027af8.tar.gz |
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>
-rw-r--r-- | bitbake/lib/bb/fetch/svn.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/svn.py b/bitbake/lib/bb/fetch/svn.py index e53f590..dc35c9d 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) |