aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch/svn.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2007-01-02 17:28:49 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2007-01-02 17:28:49 +0000
commitd550e18b3dd9684341ddc47c4fc17aca20251804 (patch)
tree6256b97c13d459d842eeee5c3b2c6c14f7b37832 /lib/bb/fetch/svn.py
parentea7a304080cb20094c68d67dc4c5e772008504b7 (diff)
downloadbitbake-d550e18b3dd9684341ddc47c4fc17aca20251804.tar.gz
svn fetcher: Don't have a date in the filename for specific svn revisions
Diffstat (limited to 'lib/bb/fetch/svn.py')
-rw-r--r--lib/bb/fetch/svn.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/fetch/svn.py b/lib/bb/fetch/svn.py
index 677956438..547e86c2a 100644
--- a/lib/bb/fetch/svn.py
+++ b/lib/bb/fetch/svn.py
@@ -55,6 +55,9 @@ class Svn(Fetch):
if 'rev' in ud.parm:
ud.revision = ud.parm['rev']
+ if ud.revision:
+ ud.date = ""
+
ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d)
return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)