diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-19 13:17:58 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-20 23:54:52 +0100 |
commit | fb068bee47bb1a06f02447daf16c2b2a79c03288 (patch) | |
tree | e1168de9d2ce8f6beb1c401737c9aa3d47cdd3ba /lib/bb/fetch2/svn.py | |
parent | 658008cc6a8acd5c1f26877c9444c96002db01e7 (diff) | |
download | bitbake-fb068bee47bb1a06f02447daf16c2b2a79c03288.tar.gz |
fetch2/git: Clean up sortable_revision
Now we no longer try and provide increasing values from the fetcher,
we can simplify the function structure for the sortable_revision
pieces and move the AUTOINC handling directly into the function
which needs it, simplifying the code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/svn.py')
-rw-r--r-- | lib/bb/fetch2/svn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/fetch2/svn.py b/lib/bb/fetch2/svn.py index cbf929e9c..9a779d244 100644 --- a/lib/bb/fetch2/svn.py +++ b/lib/bb/fetch2/svn.py @@ -178,12 +178,12 @@ class Svn(FetchMethod): return revision - def _sortable_revision(self, url, ud, d): + def sortable_revision(self, url, ud, d, name): """ Return a sortable revision number which in our case is the revision number """ - return self._build_revision(url, ud, d) + return False, self._build_revision(url, ud, d) def _build_revision(self, url, ud, d): return ud.revision |