summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/svn.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 02:13:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 02:13:26 +0100
commitc4371138f7444ecaa1fdd2b1ee4949fbc819f886 (patch)
tree76c897d9fbf16edb7dba208c8ae690798cfc875b /bitbake/lib/bb/fetch2/svn.py
parentf3ade6b0b675cc683829fefd3097685353ed9f15 (diff)
downloadpoky-c4371138f7444ecaa1fdd2b1ee4949fbc819f886.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/svn.py')
-rw-r--r--bitbake/lib/bb/fetch2/svn.py2
1 files changed, 2 insertions, 0 deletions
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):
56 ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath) 56 ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath)
57 ud.moddir = os.path.join(ud.pkgdir, ud.module) 57 ud.moddir = os.path.join(ud.pkgdir, ud.module)
58 58
59 ud.setup_revisons(d)
60
59 if 'rev' in ud.parm: 61 if 'rev' in ud.parm:
60 ud.revision = ud.parm['rev'] 62 ud.revision = ud.parm['rev']
61 63