diff options
-rw-r--r-- | bitbake-dev/lib/bb/fetch/svk.py | 5 | ||||
-rw-r--r-- | 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): | |||
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 | ||
28 | import os, re | 28 | import os |
29 | import bb | 29 | import bb |
30 | from bb import data | 30 | from bb import data |
31 | from bb.fetch import Fetch | 31 | from 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) |