summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/fetch/cvs.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib/bb/fetch/cvs.py')
-rw-r--r--bitbake-dev/lib/bb/fetch/cvs.py6
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 c4ccf4303f..aa55ad8bf6 100644
--- a/bitbake-dev/lib/bb/fetch/cvs.py
+++ b/bitbake-dev/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