diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/hg.py')
-rw-r--r-- | bitbake/lib/bb/fetch/hg.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch/hg.py b/bitbake/lib/bb/fetch/hg.py index 2b0438a26d..b5fd8fecd7 100644 --- a/bitbake/lib/bb/fetch/hg.py +++ b/bitbake/lib/bb/fetch/hg.py | |||
@@ -158,16 +158,12 @@ class Hg(Fetch): | |||
158 | raise t, v, tb | 158 | raise t, v, tb |
159 | 159 | ||
160 | def suppports_srcrev(self): | 160 | def suppports_srcrev(self): |
161 | import bb | ||
162 | bb.error("here") | ||
163 | return True | 161 | return True |
164 | 162 | ||
165 | def _latest_revision(self, url, ud, d): | 163 | def _latest_revision(self, url, ud, d): |
166 | """ | 164 | """ |
167 | Compute tip revision for the url | 165 | Compute tip revision for the url |
168 | """ | 166 | """ |
169 | import bb | ||
170 | bb.error(self._buildhgcommand(ud, d, "info")) | ||
171 | output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d) | 167 | output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d) |
172 | return output.strip() | 168 | return output.strip() |
173 | 169 | ||