From a34d402b9eaf56d23df83c19c422b7d0d9c708d1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 2 Jan 2007 16:52:41 +0000 Subject: bitbake svn fetcher: Don't use a date when a revision is specified git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1112 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/lib/bb/fetch/svn.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitbake/lib/bb/fetch/svn.py b/bitbake/lib/bb/fetch/svn.py index a5dc91aaff..ebd5bebab7 100644 --- a/bitbake/lib/bb/fetch/svn.py +++ b/bitbake/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) -- cgit v1.2.3-54-g00ecf