svn fetch multiple directories

Lawrence Velázquez larryv at macports.org
Sun Oct 12 18:00:30 PDT 2014


On Oct 12, 2014, at 7:30 PM, Mark Brethen <mark.brethen at gmail.com> wrote:

> Although svn allows checking out with more than one URL, apparently port does not:
> 
> --->  Fetching distfiles for reduce-common
> Error: org.macports.fetch for port reduce-common returned: Subversion URL cannot contain whitespace
> 
> Any one know why?

The SVN-fetching code in portfetch.tcl assumes that svn.url represents a single URL (as its name suggests), so it explicitly checks for whitespace and fails if it finds any.

http://trac.macports.org/browser/tags/release_2_3_1/base/src/port1.0/portfetch.tcl#L399

> Is there a work around I can use?

Not sure if you can work around it within the current fetching framework. Even if this behavior were fixed immediately, you'd still have to wait for a base release.

Right now, you can do your own fetch in a pre- or post-fetch stage. See the rust port, for example.

vq


More information about the macports-dev mailing list