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
69
votes
7 answers

Are subversion externals an antipattern?

Subversion lets you embed working copies of other repositories using externals, allowing easy version control of third-party library software in your project. While these seem ideal for the reuse of libraries and version control of vendor software,…
Ken
  • 77,016
  • 30
  • 84
  • 101
61
votes
4 answers

Can I emulate svn:externals using mercurial?

We are considering a move from SVN to Mercurial, and have encountered a stumbling block. We currently use svn:externals to automatically pull a common set of libraries into the working directory. I can't find support for anything like this in…
Eltariel
  • 1,298
  • 1
  • 11
  • 16
32
votes
4 answers

Can we set a single file as external in Subversion?

Can we set a single file as external in Subversion?
Reji S Nair
22
votes
5 answers

Unfixable mixed-revision working copy in SVN

I have a branch checkout that is clean (no modifications), but I cannot reintegrate the trunk back into my branch, because SVN thinks I have a mixed-revision working copy: c:\myproject> svnversion 2045:2047 The problem seems to be caused by one of…
Jason S
  • 184,598
  • 164
  • 608
  • 970
20
votes
2 answers

git & svn externals - a final solution yet?

this is the workflow I currently use for my svn projects (I never use svn branches, and some projects are actively worked on by other people as well): on the server, do the inital git svn fetch which might take hours. Also create a 'build'…
stijn
  • 34,664
  • 13
  • 111
  • 163
19
votes
8 answers

How to have TortoiseSVN always freeze svn:externals for tags

Is this possible with tortoiseSVN?: Always freeze svn:externals for tags the scenario is our trunk will always use the 'HEAD' revision for externals, however when we create 'tags' we would like for them to have a revision set for externals to…
dnndeveloper
  • 1,631
  • 2
  • 19
  • 36
18
votes
1 answer

A true, robust, git svn externals solution?

When you check out a git repository that contains svn externals, it will simply ignore them. What people have done is create many scripts, many of them mentioned in this question How do I keep an svn:external up to date using git-svn?. The problem…
newmanne
  • 2,019
  • 5
  • 22
  • 31
17
votes
1 answer

SVN externals repo "is already locked" on update

Basically I have to repo on the same server: svn://repo/foo -> checked out to d:\foo svn://repo/bar -> d:\foo has an svn:external property set to check this out into d:\foo\bar When an "svn:update" or a new "svn:checkout" this is gist of the…
user495368
  • 173
  • 1
  • 1
  • 8
14
votes
2 answers

Does SVN support some sort of comments in its properties?

I want to use SVN externals on my projects to include a number of third party plugins. I've found this blog post recommending saving the svn:externals value in a file (called svn.externals) with the destination/source pairs, like this: akismet…
davur
  • 1,420
  • 1
  • 15
  • 37
14
votes
2 answers

Why are git submodules incompatible with svn externals?

There are lots of webpages out there suggesting hackish ways to make svn externals look like git submodules. I have read some accounts of what the difference is, but this doesn't seem very fundamental: Git submodules link to a particular commit in…
Andres Jaan Tack
  • 22,566
  • 11
  • 59
  • 78
14
votes
5 answers

Shared components throughout all projects, is there a better alternative than svn:externals?

My situation: I have several components, which sometimes have changes to them, and are shared across a lot of different projects. Each project puts these in a subfolder called /depends. The depends holds a bunch of svn externals for all of our…
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
13
votes
2 answers

Reintegrate a branch with externals fails in SVN

What I am doing: Apply external properties to a folder in the trunk (both single file and folder external, externals are binary files) Create a branch from the trunk and update the entire project Modify a file on the branch and commit the changes,…
dnndeveloper
  • 1,631
  • 2
  • 19
  • 36
13
votes
3 answers

git svn - clone repo with all externals

I want to use git to clone a svn repository, but unfortunately, where svn checkout gets the repo with all externals, git svn clone only gets the repository without externals. How can I get the externals from the svn repository via git svn? I don't…
wowpatrick
  • 5,082
  • 15
  • 55
  • 86
12
votes
4 answers

How to get SVN to ignore a directory inside an externals definition

I'm using subversion to host my own repository for a WordPress installation. I've got it set up so that all of the core WordPress files are in their own directory (called wordpress) and set up to use svn:externals to link to the WordPress…
NerdStarGamer
  • 1,062
  • 1
  • 9
  • 15
11
votes
4 answers

How to do internal svn:externals

I'm trying to set up a sort of symbolic link in our subversion repository with svn:externals, but it's not really working all that well. What I want to do is link a folder in one part of the same repository to another, like…
Marcus Stade
  • 4,724
  • 3
  • 33
  • 54
1
2 3
16 17