summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/hg.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/hg.py')
-rw-r--r--bitbake/lib/bb/fetch2/hg.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index 6547cca73e..3c80725f86 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -163,6 +163,11 @@ class Hg(FetchMethod):
163 logger.debug(1, "Running %s", updatecmd) 163 logger.debug(1, "Running %s", updatecmd)
164 runfetchcmd(updatecmd, d) 164 runfetchcmd(updatecmd, d)
165 165
166 def clean(self, ud, d):
167 """ Clean the hg dir """
168
169 bb.utils.remove(ud.localpath, True)
170
166 def supports_srcrev(self): 171 def supports_srcrev(self):
167 return True 172 return True
168 173