summaryrefslogtreecommitdiffstats
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):
67 67
68 svkroot = ud.host + ud.path 68 svkroot = ud.host + ud.path
69 69
70 # pyflakes claims date is not known... it looks right 70 svkcmd = "svk co -r {%s} %s/%s" % (ud.date, svkroot, ud.module)
71 svkcmd = "svk co -r {%s} %s/%s" % (date, svkroot, ud.module)
72 71
73 if ud.revision: 72 if ud.revision:
74 svkcmd = "svk co -r %s/%s" % (ud.revision, svkroot, ud.module) 73 svkcmd = "svk co -r %s %s/%s" % (ud.revision, svkroot, ud.module)
75 74
76 # create temp directory 75 # create temp directory
77 localdata = data.createCopy(d) 76 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
25# 25#
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig 26# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27 27
28import os, re 28import os
29import bb 29import bb
30from bb import data 30from bb import data
31from bb.fetch import Fetch 31from bb.fetch import Fetch
@@ -67,10 +67,10 @@ class Svk(Fetch):
67 67
68 svkroot = ud.host + ud.path 68 svkroot = ud.host + ud.path
69 69
70 svkcmd = "svk co -r {%s} %s/%s" % (date, svkroot, ud.module) 70 svkcmd = "svk co -r {%s} %s/%s" % (ud.date, svkroot, ud.module)
71 71
72 if ud.revision: 72 if ud.revision:
73 svkcmd = "svk co -r %s/%s" % (ud.revision, svkroot, ud.module) 73 svkcmd = "svk co -r %s %s/%s" % (ud.revision, svkroot, ud.module)
74 74
75 # create temp directory 75 # create temp directory
76 localdata = data.createCopy(d) 76 localdata = data.createCopy(d)