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-22 12:10:12 +0100 |
commit | d228f9d938ecde959621d03fdd6c70ea467b5f39 (patch) | |
tree | b01652d319bc4ec4999d62e657b68b221301e1fa /bitbake/lib/bb/fetch2/svn.py | |
parent | 608821349c9a71e3e39d38bbc16669146c28d419 (diff) | |
download | poky-d228f9d938ecde959621d03fdd6c70ea467b5f39.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/svn.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/svn.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): | |||
178 | 178 | ||
179 | return revision | 179 | return revision |
180 | 180 | ||
181 | def _sortable_revision(self, url, ud, d): | 181 | def sortable_revision(self, url, ud, d, name): |
182 | """ | 182 | """ |
183 | Return a sortable revision number which in our case is the revision number | 183 | Return a sortable revision number which in our case is the revision number |
184 | """ | 184 | """ |
185 | 185 | ||
186 | return self._build_revision(url, ud, d) | 186 | return False, self._build_revision(url, ud, d) |
187 | 187 | ||
188 | def _build_revision(self, url, ud, d): | 188 | def _build_revision(self, url, ud, d): |
189 | return ud.revision | 189 | return ud.revision |