diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/svn.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/svn.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py index c0a7a548cc..1116795e87 100644 --- a/bitbake/lib/bb/fetch2/svn.py +++ b/bitbake/lib/bb/fetch2/svn.py | |||
@@ -73,15 +73,9 @@ class Svn(Fetch): | |||
73 | if "DATE" in pv: | 73 | if "DATE" in pv: |
74 | ud.revision = "" | 74 | ud.revision = "" |
75 | else: | 75 | else: |
76 | rev = Fetch.srcrev_internal_helper(ud, d) | 76 | # use the initizlied revision |
77 | if rev is True: | 77 | if ud.revision: |
78 | ud.revision = self.latest_revision(url, ud, d) | ||
79 | ud.date = "" | 78 | ud.date = "" |
80 | elif rev: | ||
81 | ud.revision = rev | ||
82 | ud.date = "" | ||
83 | else: | ||
84 | ud.revision = "" | ||
85 | 79 | ||
86 | ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d) | 80 | ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d) |
87 | 81 | ||