summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-20 16:35:14 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:42 +0000
commite81fc749f34df0b6944849f217840b3a7a027af8 (patch)
tree0d6915bb238ad218b6df3a736424bda895370879 /bitbake/lib/bb
parent66b364cf8e2f7eb9113f3cedead61151e70215be (diff)
downloadpoky-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>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch/svn.py3
1 files changed, 1 insertions, 2 deletions
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):
60 ud.date = ud.parm['date'] 60 ud.date = ud.parm['date']
61 ud.revision = "" 61 ud.revision = ""
62 else: 62 else:
63 #
63 # ***Nasty hack*** 64 # ***Nasty hack***
64 # If DATE in unexpanded PV, use ud.date (which is set from SRCDATE) 65 # If DATE in unexpanded PV, use ud.date (which is set from SRCDATE)
65 # Should warn people to switch to SRCREV here 66 # Should warn people to switch to SRCREV here
66 # 67 #
67 pv = data.getVar("PV", d, 0) 68 pv = data.getVar("PV", d, 0)
68 if "DATE" in pv: 69 if "DATE" in pv:
69 f = data.getVar("FILE", d, 1)
70 logger.warn("You should switch to SRCREV; pv='%s' in %s" % (pv, f))
71 ud.revision = "" 70 ud.revision = ""
72 else: 71 else:
73 rev = Fetch.srcrev_internal_helper(ud, d) 72 rev = Fetch.srcrev_internal_helper(ud, d)