summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:51:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:53:17 +0000
commitb42ba2f95c6968789b06be2dad459e3bef723b1a (patch)
treed072dfae682b00d7e732ff997fc02734535eb65c
parent14dea89521c0c648e8e543388096a6dcd6d4f2e0 (diff)
downloadpoky-b42ba2f95c6968789b06be2dad459e3bef723b1a.tar.gz
poky-b42ba2f95c6968789b06be2dad459e3bef723b1a.tar.bz2
poky-b42ba2f95c6968789b06be2dad459e3bef723b1a.zip
bitbake: Remove bad commit hunk from old cvs fetcher
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch/cvs.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/bitbake/lib/bb/fetch/cvs.py b/bitbake/lib/bb/fetch/cvs.py
index 7d0ccf2134..0edb794b04 100644
--- a/bitbake/lib/bb/fetch/cvs.py
+++ b/bitbake/lib/bb/fetch/cvs.py
@@ -170,14 +170,3 @@ class Cvs(Fetch):
except OSError:
pass
raise FetchError(ud.module)
-
- def clean(self, ud, d):
- """ clean the git directory """
-
- pkg = data.expand('${PN}', d)
- localdata = data.createCopy(d)
- data.setVar('OVERRIDES', "cvs:%s" % data.getVar('OVERRIDES', localdata), localdata)
- data.update_data(localdata)
- pkgdir = os.path.join(data.expand('${CVSDIR}', localdata), pkg)
- bb.utils.remove(pkgdir, True)
- bb.utils.remove(ud.localpath)