From ac4d25c89a5133790ec163ca6e1a1de0b8624ca1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 17 Oct 2009 21:07:40 +0100 Subject: [PATCH] bitbake: Fix svk fetcher Signed-off-by: Richard Purdie --- bitbake-dev/lib/bb/fetch/svk.py | 5 ++--- bitbake/lib/bb/fetch/svk.py | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bitbake-dev/lib/bb/fetch/svk.py b/bitbake-dev/lib/bb/fetch/svk.py index 4dfae1819b..442f85804f 100644 --- a/bitbake-dev/lib/bb/fetch/svk.py +++ b/bitbake-dev/lib/bb/fetch/svk.py @@ -67,11 +67,10 @@ class Svk(Fetch): svkroot = ud.host + ud.path - # pyflakes claims date is not known... it looks right - svkcmd = "svk co -r {%s} %s/%s" % (date, svkroot, ud.module) + svkcmd = "svk co -r {%s} %s/%s" % (ud.date, svkroot, ud.module) if ud.revision: - svkcmd = "svk co -r %s/%s" % (ud.revision, svkroot, ud.module) + svkcmd = "svk co -r %s %s/%s" % (ud.revision, svkroot, ud.module) # create temp directory localdata = data.createCopy(d) diff --git a/bitbake/lib/bb/fetch/svk.py b/bitbake/lib/bb/fetch/svk.py index d863ccb6e0..442f85804f 100644 --- a/bitbake/lib/bb/fetch/svk.py +++ b/bitbake/lib/bb/fetch/svk.py @@ -25,7 +25,7 @@ This implementation is for svk. It is based on the svn implementation # # Based on functions from the base bb module, Copyright 2003 Holger Schurig -import os, re +import os import bb from bb import data from bb.fetch import Fetch @@ -67,10 +67,10 @@ class Svk(Fetch): svkroot = ud.host + ud.path - svkcmd = "svk co -r {%s} %s/%s" % (date, svkroot, ud.module) + svkcmd = "svk co -r {%s} %s/%s" % (ud.date, svkroot, ud.module) if ud.revision: - svkcmd = "svk co -r %s/%s" % (ud.revision, svkroot, ud.module) + svkcmd = "svk co -r %s %s/%s" % (ud.revision, svkroot, ud.module) # create temp directory localdata = data.createCopy(d)