Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199710 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 proposal
mercurial.eclass.diff (text/plain), 1.40 KB, created by
Matthias K.
on 2009-07-31 08:25:26 UTC
(
hide
)
Description:
Patch proposal
Filename:
MIME Type:
Creator:
Matthias K.
Created:
2009-07-31 08:25:26 UTC
Size:
1.40 KB
patch
obsolete
>--- /usr/portage/eclass/mercurial.eclass 2009-07-15 21:22:01.213548921 +0200 >+++ /usr/local/portage/eclass/mercurial.eclass 2009-07-30 22:28:26.806529364 +0200 >@@ -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,20 @@ > > # 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) hg clone \ >+ --quiet \ >+ --rev="${EHG_REVISION}" \ >+ --repository "${hg_src_dir}/${EHG_PROJECT}/${module}" \ >+ "${WORKDIR}/${module}" || die "hg clone failed";; >+ nohistory) hg archive \ >+ --quiet \ >+ --rev="${EHG_REVISION}" \ >+ --type=files \ >+ --repository "${hg_src_dir}/${EHG_PROJECT}/${module}" \ >+ "${WORKDIR}/${module}" || die "hg archive 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 Raw
Actions:
View
Attachments on
bug 279769
:
199710
|
199715
|
199717
|
199719
|
221317
|
221939
|
221941