summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitbake-dev/lib/bb/fetch/svk.py5
-rw-r--r--bitbake/lib/bb/fetch/svk.py6
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)