[bitbake-devel] fetch2: Correct two examples of typo "revsion."

Submitted by Robert P. J. Day on Feb. 13, 2017, 11:38 a.m. | Patch ID: 137076

Details

Message ID alpine.LFD.2.20.1702130636370.7420@uk63952.mitel.com
State New
Headers show

Commit Message

Robert P. J. Day Feb. 13, 2017, 11:38 a.m.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  in comments only, so should have no effect on execution.

Patch hide | download patch | download mbox

diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 525f47e..9151238 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -724,7 +724,7 @@  def get_autorev(d):

 def get_srcrev(d, method_name='sortable_revision'):
     """
-    Return the revsion string, usually for use in the version string (PV) of the current package
+    Return the revision string, usually for use in the version string (PV) of the current package
     Most packages usually only have one SCM so we just pass on the call.
     In the multi SCM case, we build a value based on SRCREV_FORMAT which must
     have been set.
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index f7a0c01..023b608 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -50,7 +50,7 @@  Supported SRC_URI options are:
    The default is "0", set nobranch=1 if needed.

 - usehead
-   For local git:// urls to use the current branch HEAD as the revsion for use with
+   For local git:// urls to use the current branch HEAD as the revision for use with
    AUTOREV. Implies nobranch.

 """