Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 252723 Details for
Bug 343581
darcs.eclass: export current revision after the checkout
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
darcs.eclass.patch exports DARCS_REPO_ID as current ID
darcs.eclass.patch (text/plain), 778 bytes, created by
Sergei Trofimovich (RETIRED)
on 2010-10-31 22:11:05 UTC
(
hide
)
Description:
darcs.eclass.patch exports DARCS_REPO_ID as current ID
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2010-10-31 22:11:05 UTC
Size:
778 bytes
patch
obsolete
>Index: darcs.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v >retrieving revision 1.9 >diff -u -u -r1.9 darcs.eclass >--- darcs.eclass 19 Jul 2010 02:52:14 -0000 1.9 >+++ darcs.eclass 31 Oct 2010 22:09:27 -0000 >@@ -55,6 +55,12 @@ > # add darcs to deps > DEPEND="dev-vcs/darcs" > >+darcs_repo_id() { >+ local darcs_repo_data=($(${EDARCS_DARCS_CMD} show repo | grep "Num Patches")) >+ # handle string like: " Num Patches: 3860" >+ echo "${darcs_repo_data[2]}" >+} >+ > # is called from darcs_src_unpack > darcs_fetch() { > >@@ -114,6 +120,9 @@ > eval $cmdupdate || die "darcs update command failed" > fi > >+ export DARCS_REPO_ID=$(darcs_repo_id) >+ einfo " patches in repo: ${DARCS_REPO_ID}" >+ > popd > } >
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 343581
:
252723
|
252799
|
252803