[Building Sakai] SVN override sub directory in externals
Matthew Jones
matthew at longsight.com
Mon Feb 20 10:33:38 PST 2012
I don't think externals allows you to do that directly. It would have to
realize what you want to do is an svn switch.
It also sounds like it would be great if svn externals supported a depth or
no recursion, but that looks like an unfulfilled feature. :(
http://subversion.tigris.org/issues/show_bug.cgi?id=3216
You could probably branch the top level of osp and create an externals
there with each individual
subdirectory.
common https://source.sakaiproject.org/svn/osp/branches/sakai-2.8.x/common
docs https://source.sakaiproject.org/svn/osp/branches/sakai-2.8.x/docs
glossary
https://source.sakaiproject.org/svn/osp/branches/sakai-2.8.x/glossary
. . .
portal
https://source.sakaiproject.org/svn/msub/longsight.com/osp/sakai-2.8.x/portal-2.8.x_features-backport/
Then include that directory in your externals? :)
One time in an old build process at Michigan, I had a perl wrapper for SVN
had a special case where if the directory was specified again it would
perform a switch. Seemed like a good idea. :(
-Matthew
On Mon, Feb 20, 2012 at 1:00 PM, Bryan Holladay <holladay at longsight.com>wrote:
> Does anyone know how to override a sub directory in SVN's .externals?
> My example is trying to override an OSP tool but keep the rest of the
> OSP tools the same:
>
> .externals:
>
> osp https://source.sakaiproject.org/svn/osp/branches/sakai-2.8.x/
> osp/portal
> https://source.sakaiproject.org/svn/msub/longsight.com/osp/sakai-2.8.x/portal-2.8.x_features-backport/
>
>
> SVN CO doesn't work and I get this error:
>
> Fetching external item into '60_distros_2.8.x/osp/portal'
> svn: warning: '60_distros_2.8.x/osp/portal' is already a working copy
> for a different URL
>
>
> SVN UP works and replaces it correctly.
>
>
> Thanks,
> Bryan
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120220/49667136/attachment.html
More information about the sakai-dev
mailing list