svn fetch multiple directories
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.
> 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.
More information about the macports-dev