From c4371138f7444ecaa1fdd2b1ee4949fbc819f886 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 20 Apr 2011 02:13:23 +0100 Subject: bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix The ordering constrains on the urldata_init functions are not straight forward. To avoid further problems, create a helper function to setup the source revisions which the init functions can all at the appropriate point. Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/svn.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake/lib/bb/fetch2/svn.py') diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py index fa6c654d3e..59d7ccbac1 100644 --- a/bitbake/lib/bb/fetch2/svn.py +++ b/bitbake/lib/bb/fetch2/svn.py @@ -56,6 +56,8 @@ class Svn(FetchMethod): ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath) ud.moddir = os.path.join(ud.pkgdir, ud.module) + ud.setup_revisons(d) + if 'rev' in ud.parm: ud.revision = ud.parm['rev'] -- cgit v1.2.3-54-g00ecf