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
11
votes
3 answers

when updating a whole project's root, how to exclude svn externals from being updated?

Is there a way to exclude all svn externals when doing a recursive update? Is there a way to exclude only 1 of all of the svn externals when doing a recursive update? Basically I'd like to cut down the svn update time, and a couple of the SVN…
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
10
votes
4 answers

How to use subversion's propset against a URL?

Is it possible to manipulate a subversion property such as svn:externals via a URL only? (i.e. without having a working copy.) I'd like a script that pins svn:externals to a particular revision given a subversion URL, but this seems to be…
mjs
  • 63,493
  • 27
  • 91
  • 122
10
votes
2 answers

Single Image File to be SVN Externals

I'm trying to add an image as svn:externals but TortoiseSVN refuses it somehow. Currently I have two repositories on my local drive named repoA and repoB. Also there are two checkouts of working directories named workA and workB. workA is a checkout…
Teno
  • 2,582
  • 4
  • 35
  • 57
9
votes
3 answers

SVN: Update working copy to exclude externals with TortoiseSVN?

Is there a way to update a working copy to exclude externals with TortoiseSVN? I have a working copy that I checked out with externals. I'm doing some updates to my include paths and now have these external files in a different project. I want to…
guice
  • 976
  • 4
  • 11
  • 31
9
votes
1 answer

How to update Subversion externals

We have several subversion repositories: one for common code and one for each top level project. The top level projects have a svn:external link to the trunk of the common repository. Before we build a release of a project we create a branch of the…
David Moorhouse
  • 1,573
  • 3
  • 14
  • 19
8
votes
4 answers

Update svn checkout to specific date including externals

I want to perform an svn update to a specific date, and I can do this with svn update -r {2010-10-17}. Unfortunately when this encounters an external it will do the update within the external without passing through the -r {2010-10-17} option. …
pauldoo
  • 18,087
  • 20
  • 94
  • 116
8
votes
2 answers

Is the subprepos feature in Mercurial 1.4.x ready for production use?

I'd like to evaluate Mercurial for my working projects. But most of my projects very heavily rely on the presence of svn:externals-like support. I've searched over StackOverflow and googled for corresponding support in Mercurial. All I found is…
bialix
  • 20,053
  • 8
  • 46
  • 63
8
votes
1 answer

Sparse checkouts and svn:externals

I'm trying to do a sparse checkout of a folder containing externals, but none of the externals are being checked out. This issue seems to indicate that this behavior may be by design, or at least that it isn't clear what the behavior should be. From…
JesperE
  • 63,317
  • 21
  • 138
  • 197
7
votes
1 answer

svn:externals : Having more than one external repository in a local directory

Is it possible to have 2 (or more) external repositories linked to a local directory ? For example, I have a file named externals and containing : http://somewhere/dev/trunk/F01common.lib include I declare my property like that : svn propset…
Flyounet
  • 105
  • 1
  • 6
7
votes
2 answers

Best practice use of svn:externals

Let's take three cases: This statement is good. 999 is a peg. This is the so-called "old format": foo -r999 http://myrepo/foo Alternatively, the peg can also be specified like this (in the "new format"), and is also good: http://myrepo/foo@999…
David Baird
  • 772
  • 8
  • 13
7
votes
2 answers

Setting Up SVN:Externals with TortoiseSVN in Windows

I'm trying to set up svn:externals with TortoiseSVN on a Windows machine. I have two projects and both repositories have been already created on the same local machine. The current structure looks like this. I created repoA, repoB for repositories…
Teno
  • 2,582
  • 4
  • 35
  • 57
7
votes
2 answers

How to set a revision number for svn external?

So I have this file Mobile.framework and if I do a svn propedit i get svn propedit svn:externals It brings up Mobile.embeddedframework svn+ssh://../Mobile.embeddedframework This is pointed to the head. I want to edit this and set it to -r1209.…
Legolas
  • 12,145
  • 12
  • 79
  • 132
7
votes
2 answers

How to fetch a Subversion external without fetching all other directories and subdirectories

I have a Subversion repository called 'repo'. Inside of repo are trunk/ and branches/ directories. Within branches/ there are several dozen release branches, e.g. 1.0/, 1.1/. These branches/ directories contain a relatively large application. I want…
egherrmann
  • 73
  • 1
  • 5
6
votes
2 answers

SVN update command to target a single externals subfolder?

I have a bunch of externals directories in a plugins folder. ~> svn propedit svn:externals . akismet http://plugins.svn.wordpress.org/akismet/trunk/ stats http://plugins.svn.wordpress.org/stats/tags/1.3.7/ html-purified…
aleemb
  • 31,265
  • 19
  • 98
  • 114
6
votes
2 answers

How to check if svn external is set for a repository?

I have an old repository (SVN) and I am not sure if svn external is set for it, and if yes.. for what path? Is there a way to find that out?
Arpit
  • 6,212
  • 8
  • 38
  • 69
1
2
3
16 17