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
2
votes
1 answer

svn:externals problems during merge

let's consider following SVN stucture: * /Project_1/trunk/1.txt * /Project_2/trunk/dir1 * /Project_2/trunk/dir2 Let's assume following scenario which leeds to an error: * You add svn:externals to /Project_2/trunk/dir1 and /Project_2/trunk/dir2 so it…
SOReader
  • 5,697
  • 5
  • 31
  • 53
2
votes
1 answer

Svn Externals, can you have files from externals that are mixed in with your regular working copy

I want to be able to have a working copy of a framework, then I want to have another repo for certain extensions where I pull those extensions into my framework with externals. The problem I see, since I haven't used externals before, is that it…
dan.codes
  • 3,523
  • 9
  • 45
  • 59
2
votes
0 answers

Conan and SVN externals

Considering using Conan.io to manage the enormous amount of binaries created by our CI system. Currently, source for several (~50) SW modules is versioned in SVN and we use SVN externals to specify which modules should be checked-out for each…
ichiwahato
  • 211
  • 1
  • 2
  • 15
2
votes
0 answers

How can I make Subversion ignore externals for future updates and status reports?

I'm working on a project which uses a tool developed in-house. It's convenient to have that tool's source code available while working on my project, so I ran svn propset svn:externals -F svn.externals . where the svn.externals file…
Kevin Vermeer
  • 2,736
  • 2
  • 27
  • 38
2
votes
1 answer

How do you rename a local 'external' in TortoiseSVN?

I've recently added an external file to a directory that is being tracked in SVN. We're using tortoiseSVN. Typically when we add externals, we try to give it a prefix marking such that others know it's an external. However, I accidentally forgot the…
Izzo
  • 4,461
  • 13
  • 45
  • 82
2
votes
2 answers

SVN externals - is there something between floating and pinned externals?

I know that people recommend that externals should always point to tags or be pinned to specific revisions (or both for the belts-and-braces brigade!). I'm comfortable with this approach when the external points to a unchanging or slowly changing…
Akash
  • 2,311
  • 1
  • 20
  • 37
2
votes
1 answer

Externals in VisualSVNServer

I'm using VisualSVNServer. I've a svn repo (say: test1) with externals (say: test2). Everything fine so far, when I checkout test1, test2 is automatically checked out to and placed inside my working copy of test1. Good. But when looking into test1…
wollud1969
  • 497
  • 4
  • 13
2
votes
1 answer

Remove SVN external reference on repository

As part of my deployment scripts I do an svn copy from the trunk to the tags directory, which is in turn exported to our server. In a current project thats in development i'll be using svn externals to reference some files from another…
WeeJames
  • 540
  • 4
  • 11
2
votes
1 answer

How to correctly set an external path on SVN?

I'm trying to set an external path on SVN. Here is what I do in SVN: Right click on folder where I want an external Select "Show Properties" New -> Externals In "Externals", I click New At local path, I tried setting the path I wanted, but whatever…
Cher
  • 2,789
  • 10
  • 37
  • 64
2
votes
1 answer

Any way to specify the svn revision of externals in a Jenkins job?

Suppose I have such svn structure: svn://myhost/repository_main svn://myhost/repository_ext The revision numbers of these two repositories are isolated. Now I have set a svn:externals on…
jayatubi
  • 1,972
  • 1
  • 21
  • 51
2
votes
1 answer

Replacing directory with external results in "working copy locked" on `update`

(Related to: SVN externals repo "is already locked" on update) I started off with a repository structure like this: ^/ ├ module1/ │ ├ foo/ │ ├ bar/ │ ├ baz/ ├ module2/ The directory ^/bar was actually a slightly antiquated copy of module2, and I…
Lightness Races in Orbit
  • 378,754
  • 76
  • 643
  • 1,055
2
votes
2 answers

svn:externals a sub-folder of a git project

is there a way to get only a part (ex: a sub-folder called /library) of a github.com project and use it in svn:externals? What I'm doing now is $svn pe svn:externals . SomeLibrary http://svn.github.com/myuser/myproject.git But I don't want…
dgaspar
  • 655
  • 6
  • 10
2
votes
0 answers

SVN ignore within external

In my repository I have a main project where C files and headers are together in the same folder. MainProject/ | source/ | | file1.c | | file1.h | | file2.c | | file2.h | other/ Now, in another project, in the same repository, I would like to have…
ironfisher
  • 21
  • 2
2
votes
1 answer

svn:externals with matching revisions

Suppose I have some svn:externals set up to pull in some resources from elsewhere in my repository: ../../path/to/scripts scripts ../../path/to/data data I want each part of a working copy to all come from the same revision, so I don't want to pin…
Josh Kelley
  • 56,064
  • 19
  • 146
  • 246
2
votes
2 answers

How can I create an SVN link between repos

Some background information on what I'm doing I'm using Altium Designer for PCB design and I'd like to have a folder particular folder structure setup. Template FolderA Folder_common_a Folder_common_b FolderC …
efox29
  • 141
  • 1
  • 8