diff options
author | Richard Purdie <richard@openedhand.com> | 2008-09-30 20:32:33 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-09-30 20:32:33 +0000 |
commit | dc98b2c28c0a7a7ea715230a234bb846a18e4584 (patch) | |
tree | e455675b57485803d6bf65c8b270883422a6b3ea /bitbake/lib/bb/fetch/cvs.py | |
parent | f3937639b2fb9c984d9b14993e21e8698cd0b990 (diff) | |
download | poky-dc98b2c28c0a7a7ea715230a234bb846a18e4584.tar.gz |
bitbake: Sync with 1.8 branch upstream
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5345 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/fetch/cvs.py')
-rw-r--r-- | bitbake/lib/bb/fetch/cvs.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/cvs.py b/bitbake/lib/bb/fetch/cvs.py index c4ccf4303f..aa55ad8bf6 100644 --- a/bitbake/lib/bb/fetch/cvs.py +++ b/bitbake/lib/bb/fetch/cvs.py | |||
@@ -118,7 +118,11 @@ class Cvs(Fetch): | |||
118 | if 'norecurse' in ud.parm: | 118 | if 'norecurse' in ud.parm: |
119 | options.append("-l") | 119 | options.append("-l") |
120 | if ud.date: | 120 | if ud.date: |
121 | options.append("-D \"%s UTC\"" % ud.date) | 121 | # treat YYYYMMDDHHMM specially for CVS |
122 | if len(ud.date) == 12: | ||
123 | options.append("-D \"%s %s:%s UTC\"" % (ud.date[0:8], ud.date[8:10], ud.date[10:12])) | ||
124 | else: | ||
125 | options.append("-D \"%s UTC\"" % ud.date) | ||
122 | if ud.tag: | 126 | if ud.tag: |
123 | options.append("-r %s" % ud.tag) | 127 | options.append("-r %s" % ud.tag) |
124 | 128 | ||