Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199715 Details for
Bug 279769
mercurial.eclass: improved working directory creation with respect to dependent ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mercurial.eclass.diff
mercurial.eclass.diff (text/plain), 1.10 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2009-07-31 09:25:57 UTC
(
hide
)
Description:
mercurial.eclass.diff
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2009-07-31 09:25:57 UTC
Size:
1.10 KB
patch
obsolete
>--- mercurial.eclass >+++ mercurial.eclass >@@ -40,6 +40,13 @@ > # Command used to perform initial repository clone. > [[ -z "${EHG_CLONE_CMD}" ]] && EHG_CLONE_CMD="hg clone --quiet --pull --noupdate" > >+# @ECLASS-VARIABLE: EHG_WC_OPT >+# @DESCRIPTION: >+# Working Copy creation Method >+# >+# If 'nohistory' is set, hg archive will be used instead of hg clone >+[[ -z "${EHG_WC_OPT}" ]] && EHG_WC_OPT="clone" >+ > # @ECLASS-VARIABLE: EHG_PULL_CMD > # @DESCRIPTION: > # Command used to update repository. >@@ -96,11 +103,18 @@ > > # Checkout working copy: > einfo "Creating working directory in ${WORKDIR}/${module} (revision: ${EHG_REVISION})" >- hg clone \ >- --quiet \ >- --rev="${EHG_REVISION}" \ >- "${hg_src_dir}/${EHG_PROJECT}/${module}" \ >- "${WORKDIR}/${module}" || die "hg clone failed" >+ case ${EHG_WC_OPT} in >+ clone|nohistory) >+ hg ${EHG_WC_OPT} \ >+ --quiet \ >+ --rev="${EHG_REVISION}" \ >+ "${hg_src_dir}/${EHG_PROJECT}/${module}" \ >+ "${WORKDIR}/${module}" || die "hg ${EHG_WC_OPT} failed" >+ ;; >+ *) >+ die "invalid creation method issued: ${EHG_WC_OPT}" >+ ;; >+ esac > } > > # @FUNCTION: mercurial_src_unpack
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279769
:
199710
|
199715
|
199717
|
199719
|
221317
|
221939
|
221941