Questions tagged [svn-externals]

svn:externals allow a part of an external Subversion repository to be checked out within another working copy, by setting the svn:externals property on a directory in that working copy.

Externals Definitions (svn:externals SVN property) help you to construct a working copy that is made out of a number of different checkouts.

An externals definition is a mapping of a local directory to the URL — and ideally a particular revision — of a versioned directory. In Subversion, you declare externals definitions in groups using the svn:externals property.

The convenience of the svn:externals property is that once it is set on a versioned directory, everyone who checks out a working copy with that directory also gets the benefit of the externals definition. In other words, once one person has made the effort to define the nested working copy structure, no one else has to bother — Subversion will, after checking out the original working copy, automatically also check out the external working copies.

Reference:

254 questions
5
votes
1 answer

svn:externals & tagging, how to combine code between teams

In our company, we are working on a product composed of different C/C++ modules. Ideally, each tier and module should be developed by separately by different teams and tested independently. Currently, we have separate each module into it's own…
Charles
  • 1,153
  • 1
  • 15
  • 27
5
votes
3 answers

How can I redirect svn urls to another domain?

background: DynDNS has now started to require a once a month logon to keep their free accounts active (previously you only had to renew your IP address once a month). I am sure sooner or later I will forget to do that and lose my account. I use…
dummzeuch
  • 10,975
  • 4
  • 51
  • 158
5
votes
1 answer

SVN: Ignore externals when committing

Is it possible to ignore the commit of externals in SVN? Example: I have a project and one of the subfolders is an external: svn:externals my_remote_folder http://svn.whatever.org/blah/trunk/ This works seamlessly. Always when I perform an update,…
Armin
  • 15,582
  • 10
  • 47
  • 64
5
votes
4 answers

How to forbid subversion commits to svn:external to revisions?

We use svn:externals to specific revisions of a library, e.g. like xyzlib -r12345 https://asdf.asdf.local/xyzlib/trunk/ When you make a modification in your working copy to such a checked out external, it is possible to commit even though the…
martinus
  • 17,736
  • 15
  • 72
  • 92
4
votes
1 answer

Checking out one external in subversion, after --ignore-externals

So let's say I have a code checkout that I used --ignore-externals on originally. One of the directories has several large externals in it. After having checked out my sparse copy, is there a way to retrieve just one of those externals? As far as…
Izkata
  • 8,961
  • 2
  • 40
  • 50
4
votes
3 answers

How to use the TeamCity AssemblyInfo Patcher build feature, but exlude SVN Externals from also being patched?

I have a project setup in Subversion which has a few Subversion Externals defined. These Subversion Externals reference other projects. Example Subversion layout: repo/Project1/trunk repo/Project2/trunk Example Checkout…
Llyle
  • 5,980
  • 6
  • 39
  • 56
4
votes
4 answers

How to deal with released common libs in .NET?

This is the SVN structure: /trunk + ProjectA + ProjectB + Common + ProjectCore + References ProjectA and ProjectB will deliver an end product and each can have their own release life cycle. Both projects make use of the…
Nick V
  • 1,793
  • 2
  • 17
  • 19
4
votes
1 answer

Dynamic username in svn:externals URL

In my project directory I have svn:externals set to the following: library svn+ssh://MY_USERNAME@some.server.com/library where MY_USERNAME is my personal username. It works for me, but if another person checks out my project it will fail since they…
Anders
  • 55
  • 1
  • 1
  • 4
4
votes
3 answers

How do I include a external svn repository in my git project?

I'm using git as the revision control software for a project. My project needs to use a 3rd party code library which uses SVN for its revision control software. (In this case the 3rd party code is a PHP framework called Yii, not that it is very…
Tom
  • 14,041
  • 16
  • 64
  • 80
4
votes
1 answer

Using the Mercurial hgsubversion extension with SVN Externals

I'm using Mercurial to talk to a Subversion repository, and the repository is currently using SVN externals to pull in another repository. hgsubversion works really well for communicating with the repository, but it doesn't seem to work with SVN…
John Nelson
  • 5,041
  • 6
  • 27
  • 34
4
votes
3 answers

What's the benefits of "svn:externals"?

I would not get to know svn:externals if I haven't run into the this page. So, I setup my working folder. Then mkdir lib/vendor svn add --parents lib/vendor svn ps svn:externals 'symfony http://svn.symfony-project.com/branches/1.4/' lib/vendor/ svn…
Morgan Cheng
  • 73,950
  • 66
  • 171
  • 230
4
votes
3 answers

Committing relative externals from Subversion

Our Subversion repository has several subdirectories containing shared files as well as subdirectories for each project. Projects are set up with relative svn:externals properties to pull in shared directories out of the repository and set them up…
Josh Kelley
  • 56,064
  • 19
  • 146
  • 246
4
votes
3 answers

REGEX for svndumptool

I have a large (30+GB) legacy SVN repo with a lot of externals defined that needs to be cloned to a new server. As the repo was originally created in the pre SVN v1.5 days it has a lot of externals defined with absolute paths that refer back to the…
Ausmith1
  • 204
  • 1
  • 8
4
votes
2 answers

svn subtree, update from one repo, commit to other

A have a big project in a SVN repository. I would like to use some modules of the project in other applications, so I thought about checkout them from my main SVN repository so I can keep my code updated. How can I "export" one folder / module of my…
brpaz
  • 3,618
  • 9
  • 48
  • 75
3
votes
1 answer

Get variable in svn-external

I'm wondering if it is possible to get a (global) variable in an svn-external property, or one at any place. When looking answer for my question, I found not that much about variables... I'd like to do something like: svn:externals subproject…
Maarten
  • 41
  • 5