Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416649 - subversion.eclass - add support for file:// URIs
Summary: subversion.eclass - add support for file:// URIs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-19 17:22 UTC by James Cloos
Modified: 2012-07-29 05:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for subversion.eclass to make file:// ESVN_REPO_URIs work (subversion_eclass.patch,388 bytes, patch)
2012-05-19 17:22 UTC, James Cloos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2012-05-19 17:22:01 UTC
Created attachment 312287 [details, diff]
Patch for subversion.eclass to make file:// ESVN_REPO_URIs work

As I have local mirrors of some svn repos, I prefer to use those rather than waste bandwidth on a remote checkout/update when emerging live ebuilds.

Overriding ESVN_REPO_URI in /etc/portage/env is easy enough, but the eclass needs a tiny patch to make it work.

As it is so trivial, I’ve inlined it below:

--- a/subversion.eclass	2012-05-17 16:26:15.537134530 -0400
+++ b/subversion.eclass	2012-05-17 16:25:54.882355963 -0400
@@ -215,7 +215,7 @@
 				die "${ESVN}: reinstall Subversion with support for WebDAV."
 			fi
 			;;
-		svn|svn+ssh)
+		file|svn|svn+ssh)
 			;;
 		*)
 			die "${ESVN}: fetch from '${protocol}' is not yet implemented."

It also it attached should that be more convienient.
Comment 1 Akinori Hattori gentoo-dev 2012-07-29 05:54:25 UTC
Fixed in CVS.