summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-09-12 20:47:49 +0000
committerUlrich Müller <ulm@gentoo.org>2012-09-12 20:47:49 +0000
commitcdc64eb268472637828606f93e258d39900aa018 (patch)
tree667afc3c987bcfe467caf0f7062520d8fe09ddd1 /eclass
parentBootstrapping in src_compile shouldn't be needed, because we already call eau... (diff)
downloademacs-cdc64eb268472637828606f93e258d39900aa018.tar.gz
emacs-cdc64eb268472637828606f93e258d39900aa018.tar.bz2
emacs-cdc64eb268472637828606f93e258d39900aa018.zip
Remove cleanup code for old checkouts.
svn path=/emacs-overlay/; revision=1831
Diffstat (limited to 'eclass')
-rw-r--r--eclass/bzr.eclass13
1 files changed, 0 insertions, 13 deletions
diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index 7b0a6e6..af20aef 100644
--- a/eclass/bzr.eclass
+++ b/eclass/bzr.eclass
@@ -215,19 +215,6 @@ bzr_fetch() {
addwrite "${EBZR_STORE_DIR}"
- # Clean up if the existing local copy is a checkout (as was the case
- # with an older version of bzr.eclass).
- # This test can be removed after 1 Mar 2012.
- if [[ ${EBZR_FETCH_CMD} != *checkout* && -d ${repo_dir}/.bzr/checkout ]]
- then
- local tmpname=$(mktemp -u "${repo_dir}._old_.XXXXXX")
- ewarn "checkout from old version of ${EBZR} found, moving it to:"
- ewarn "${tmpname}"
- ewarn "you may manually remove it"
- mv "${repo_dir}" "${tmpname}" \
- || die "${EBZR}: can't move old checkout out of the way"
- fi
-
if [[ ! -d ${branch_dir}/.bzr ]]; then
if [[ ${repo_dir} != "${branch_dir}" && ! -d ${repo_dir}/.bzr ]]; then
einfo "creating shared bzr repository: ${repo_dir}"