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): logger.debug(1, "Running %s", updatecmd) runfetchcmd(updatecmd, d) + def clean(self, ud, d): + """ Clean the hg dir """ + + bb.utils.remove(ud.localpath, True) + def supports_srcrev(self): return True