]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "svn fetcher: warn people to switch to SRCREV"
authorChris Larson <chris_larson@mentor.com>
Sat, 20 Nov 2010 23:35:14 +0000 (16:35 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:42 +0000 (14:46 +0000)
1) too spammy
2) can be implemented in the metadata instead

This reverts commit 8da9744fcdf856abebcfbe9e3bc1b8cf07bc317b.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/fetch/svn.py

index e53f59036d57ef2e2af7a930bab336db58212ac6..dc35c9d121259b9180ddd5dbdca1df7d1a44a275 100644 (file)
@@ -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)