summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2017-02-13 06:50:29 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-19 06:28:47 -0800
commit6c611d697f9c03867c938cba1b481f38eebed8bf (patch)
treef54ae4a1d7a18e9d22cb2e35744c0719424477da /bitbake
parent1bd4f040a36d40f6047ae1142c5a9cbabfd0f90d (diff)
downloadpoky-6c611d697f9c03867c938cba1b481f38eebed8bf.tar.gz
bitbake: fetch2: Rename "setup_revisons" to "setup_revisions"
For spelling's sake, rename Python routine "setup_revisons" to "setup_revisions." (Bitbake rev: 4df59b027c02ef39d72476251ccd3fd62fc20bf6) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
-rw-r--r--bitbake/lib/bb/fetch2/bzr.py2
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
-rw-r--r--bitbake/lib/bb/fetch2/hg.py2
-rw-r--r--bitbake/lib/bb/fetch2/perforce.py2
-rw-r--r--bitbake/lib/bb/fetch2/svn.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 9151238a35..8dd276fa72 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1247,7 +1247,7 @@ class FetchData(object):
1247 self.donestamp = basepath + '.done' 1247 self.donestamp = basepath + '.done'
1248 self.lockfile = basepath + '.lock' 1248 self.lockfile = basepath + '.lock'
1249 1249
1250 def setup_revisons(self, d): 1250 def setup_revisions(self, d):
1251 self.revisions = {} 1251 self.revisions = {}
1252 for name in self.names: 1252 for name in self.names:
1253 self.revisions[name] = srcrev_internal_helper(self, d, name) 1253 self.revisions[name] = srcrev_internal_helper(self, d, name)
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py
index 72264afb5a..0f1c420ef7 100644
--- a/bitbake/lib/bb/fetch2/bzr.py
+++ b/bitbake/lib/bb/fetch2/bzr.py
@@ -45,7 +45,7 @@ class Bzr(FetchMethod):
45 relpath = self._strip_leading_slashes(ud.path) 45 relpath = self._strip_leading_slashes(ud.path)
46 ud.pkgdir = os.path.join(data.expand('${BZRDIR}', d), ud.host, relpath) 46 ud.pkgdir = os.path.join(data.expand('${BZRDIR}', d), ud.host, relpath)
47 47
48 ud.setup_revisons(d) 48 ud.setup_revisions(d)
49 49
50 if not ud.revision: 50 if not ud.revision:
51 ud.revision = self.latest_revision(ud, d) 51 ud.revision = self.latest_revision(ud, d)
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 023b608698..0a5785d486 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -186,7 +186,7 @@ class Git(FetchMethod):
186 186
187 ud.write_tarballs = ((d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0") != "0") or ud.rebaseable 187 ud.write_tarballs = ((d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0") != "0") or ud.rebaseable
188 188
189 ud.setup_revisons(d) 189 ud.setup_revisions(d)
190 190
191 for name in ud.names: 191 for name in ud.names:
192 # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one 192 # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index 7e9afceac8..ddbebb5f36 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -67,7 +67,7 @@ class Hg(FetchMethod):
67 else: 67 else:
68 ud.proto = "hg" 68 ud.proto = "hg"
69 69
70 ud.setup_revisons(d) 70 ud.setup_revisions(d)
71 71
72 if 'rev' in ud.parm: 72 if 'rev' in ud.parm:
73 ud.revision = ud.parm['rev'] 73 ud.revision = ud.parm['rev']
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py
index 0f0d7393c1..e00cca90e7 100644
--- a/bitbake/lib/bb/fetch2/perforce.py
+++ b/bitbake/lib/bb/fetch2/perforce.py
@@ -87,7 +87,7 @@ class Perforce(FetchMethod):
87 cleanedhost = ud.host.replace(':', '.') 87 cleanedhost = ud.host.replace(':', '.')
88 ud.pkgdir = os.path.join(ud.dldir, cleanedhost, cleanedpath) 88 ud.pkgdir = os.path.join(ud.dldir, cleanedhost, cleanedpath)
89 89
90 ud.setup_revisons(d) 90 ud.setup_revisions(d)
91 91
92 ud.localfile = data.expand('%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, ud.revision), d) 92 ud.localfile = data.expand('%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, ud.revision), d)
93 93
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py
index d6feeb22a4..cabc290535 100644
--- a/bitbake/lib/bb/fetch2/svn.py
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -64,7 +64,7 @@ class Svn(FetchMethod):
64 ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath) 64 ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath)
65 ud.moddir = os.path.join(ud.pkgdir, ud.module) 65 ud.moddir = os.path.join(ud.pkgdir, ud.module)
66 66
67 ud.setup_revisons(d) 67 ud.setup_revisions(d)
68 68
69 if 'rev' in ud.parm: 69 if 'rev' in ud.parm:
70 ud.revision = ud.parm['rev'] 70 ud.revision = ud.parm['rev']