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.
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.
"""