diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-01-02 16:52:41 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-01-02 16:52:41 +0000 |
| commit | a34d402b9eaf56d23df83c19c422b7d0d9c708d1 (patch) | |
| tree | 510b1f090fd59681c4fe5e449c4d7e7b888b0e54 /bitbake/lib/bb/fetch/svn.py | |
| parent | 94ad9963c1f99ba084dd12dd5857e47b49e3f4e1 (diff) | |
| download | poky-a34d402b9eaf56d23df83c19c422b7d0d9c708d1.tar.gz | |
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
Diffstat (limited to 'bitbake/lib/bb/fetch/svn.py')
| -rw-r--r-- | bitbake/lib/bb/fetch/svn.py | 3 |
1 files changed, 3 insertions, 0 deletions
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): | |||
| 55 | if 'rev' in ud.parm: | 55 | if 'rev' in ud.parm: |
| 56 | ud.revision = ud.parm['rev'] | 56 | ud.revision = ud.parm['rev'] |
| 57 | 57 | ||
| 58 | if ud.revision: | ||
| 59 | ud.date = "" | ||
| 60 | |||
| 58 | ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d) | 61 | ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d) |
| 59 | 62 | ||
| 60 | return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) | 63 | return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) |
