diff options
author | Richard Purdie <richard@openedhand.com> | 2008-09-30 15:22:44 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-09-30 15:22:44 +0000 |
commit | d54280dd315810ad8cdbce5c52a1af3de902f6ef (patch) | |
tree | 516f1a895d86f397388bd750059b9a5a69404277 /bitbake-dev/lib/bb/fetch | |
parent | 4e522e0d4b9b7ee18678bd08c16548b807aa7229 (diff) | |
download | openembedded-core-d54280dd315810ad8cdbce5c52a1af3de902f6ef.tar.gz openembedded-core-d54280dd315810ad8cdbce5c52a1af3de902f6ef.tar.bz2 openembedded-core-d54280dd315810ad8cdbce5c52a1af3de902f6ef.tar.xz openembedded-core-d54280dd315810ad8cdbce5c52a1af3de902f6ef.zip |
bitbake-dev: Update against bitbake trunk
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5339 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake-dev/lib/bb/fetch')
-rw-r--r-- | bitbake-dev/lib/bb/fetch/cvs.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/fetch/cvs.py b/bitbake-dev/lib/bb/fetch/cvs.py index c4ccf4303..aa55ad8bf 100644 --- a/bitbake-dev/lib/bb/fetch/cvs.py +++ b/bitbake-dev/lib/bb/fetch/cvs.py @@ -118,7 +118,11 @@ class Cvs(Fetch): if 'norecurse' in ud.parm: options.append("-l") if ud.date: - options.append("-D \"%s UTC\"" % ud.date) + # treat YYYYMMDDHHMM specially for CVS + if len(ud.date) == 12: + options.append("-D \"%s %s:%s UTC\"" % (ud.date[0:8], ud.date[8:10], ud.date[10:12])) + else: + options.append("-D \"%s UTC\"" % ud.date) if ud.tag: options.append("-r %s" % ud.tag) |