Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 279769 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/eclass/mercurial.eclass (-4 / +6 lines)
Lines 112-122 Link Here
112
112
113
	# Checkout working copy:
113
	# Checkout working copy:
114
	einfo "Creating working directory in ${WORKDIR}/${module} (revision: ${EHG_REVISION})"
114
	einfo "Creating working directory in ${WORKDIR}/${module} (revision: ${EHG_REVISION})"
115
	hg clone \
115
	mkdir "${WORKDIR}/${module}"
116
	ln -s "${hg_src_dir}/${EHG_PROJECT}/${module}"/.hg "${WORKDIR}/${module}"/.hg || die
117
	hg update \
116
		${EHG_QUIET_CMD_OPT} \
118
		${EHG_QUIET_CMD_OPT} \
117
		--rev="${EHG_REVISION}" \
119
		-r "${EHG_REVISION}" -C \
118
		"${hg_src_dir}/${EHG_PROJECT}/${module}" \
120
		-R "${WORKDIR}/${module}" || die "hg update failed"
119
		"${WORKDIR}/${module}" || die "hg clone failed"
121
	rm "${WORKDIR}/${module}"/.hg
120
}
122
}
121
123
122
# @FUNCTION: mercurial_src_unpack
124
# @FUNCTION: mercurial_src_unpack

Return to bug 279769