From d228f9d938ecde959621d03fdd6c70ea467b5f39 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 19 May 2013 13:17:58 +0300 Subject: bitbake: 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. (Bitbake rev: fb068bee47bb1a06f02447daf16c2b2a79c03288) Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/svn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/fetch2/svn.py') diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py index cbf929e9c5..9a779d2448 100644 --- a/bitbake/lib/bb/fetch2/svn.py +++ b/bitbake/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 -- cgit v1.2.3-54-g00ecf