svn.py: Fix a references to date
authorRichard Purdie <rpurdie@linux.intel.com>
Sun, 12 Nov 2006 15:15:31 +0000 (15:15 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Sun, 12 Nov 2006 15:15:31 +0000 (15:15 +0000)
lib/bb/fetch/cvs.py
lib/bb/fetch/svk.py
lib/bb/fetch/svn.py

index 80fd908..668b812 100644 (file)
@@ -86,7 +86,7 @@ class Cvs(Fetch):
                 cvs_rsh = ud.parm["rsh"]
 
         # try to use the tarball stash
-        if (date != "now") and Fetch.try_mirror(d, ud.localfile):
+        if (ud.date != "now") and Fetch.try_mirror(d, ud.localfile):
             bb.msg.debug(1, bb.msg.domain.Fetcher, "%s already exists or was mirrored, skipping cvs checkout." % ud.localpath)
             return
 
index 383ce4c..80b16d5 100644 (file)
@@ -72,7 +72,7 @@ class Svk(Fetch):
         # setup svk options
         options = []
 
-        if (date != "now") and Fetch.try_mirror(d, ud.localfile):
+        if (ud.date != "now") and Fetch.try_mirror(d, ud.localfile):
             return
 
         svkroot = ud.host + ud.path
index 62c72f6..d788c82 100644 (file)
@@ -74,7 +74,7 @@ class Svn(Fetch):
             svn_rsh = ud.parm["rsh"]
 
         # try to use the tarball stash
-        if (date != "now") and Fetch.try_mirror(d, ud.localfile):
+        if (ud.date != "now") and Fetch.try_mirror(d, ud.localfile):
             bb.msg.debug(1, bb.msg.domain.Fetcher, "%s already exists or was mirrored, skipping svn checkout." % ud.localpath)
             return