remove special-casing of tag=HEAD
authorPhil Blundell <philb@gnu.org>
Wed, 4 Aug 2004 15:51:28 +0000 (15:51 +0000)
committerPhil Blundell <philb@gnu.org>
Wed, 4 Aug 2004 15:51:28 +0000 (15:51 +0000)
bin/oe/fetch.py

index 5463e29..ade343a 100644 (file)
@@ -266,7 +266,7 @@ class Cvs(Fetch):
         if 'date' in parm:
             date = parm['date']
         else:
-            if not tag or tag == "HEAD":
+            if not tag:
                 date = oe.data.getVar("CVSDATE", d, 1) or oe.data.getVar("DATE", d, 1)
             else:
                 date = ""
@@ -312,7 +312,7 @@ class Cvs(Fetch):
             if 'date' in parm:
                 date = parm['date']
             else:
-                if not tag or tag == "HEAD":
+                if not tag:
                     date = oe.data.getVar("CVSDATE", d, 1) or oe.data.getVar("DATE", d, 1)
                 else:
                     date = ""