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

How do I checkin to local copy AND svn:externals subdirectories in one commit?

We have an svn project that also has several plugins in vendor/plugins - all pulled in via svn:externals. I have a commit that spans both the main project and several of these plugins all at once. When I do an svn st it lists all my changed files…
Taryn East
  • 27,486
  • 9
  • 86
  • 108
2
votes
1 answer

SVN externals not properly displayed in TortoiseSVN's Repository Browser and locally marked as non-versioned

I work on a (work) project that's scattered across a myriad of (source) projects and SVN locations. To make life easier, I followed a colleague's advice and set up a new folder on SVN, /_all/, and specified all of the other projects' trunk folders…
Christian
  • 6,070
  • 11
  • 53
  • 103
2
votes
1 answer

Create a client side hook script to prevent user commit to external in TortoiseSVN

My trunk has structure: \trunk ----\data ----\src ----\tool with \tool is external to another place, not in my trunk. So i don't want user commit to \tool in SVN. They can only commit to \data or \src. Can anybody help me to create a hook script…
anticafe
  • 6,816
  • 9
  • 43
  • 74
2
votes
2 answers

Jenkins won't download svn:externals directory

I've added an svn:externals to my project, and it works great locally via TortoiseSVN. When I use Jenkins to pull from the same repository, it's not showing anything about the externals in the console output. I read some other questions on here…
HenryAdamsJr
  • 850
  • 2
  • 9
  • 21
2
votes
2 answers

svn copy-on-write semantics for versioned files : an svn:externals use case?

I am trying to create a logical progression of svn branches where newer branches have pointers to files in the previous branch, rather than copies of those files. Once you change a file in a newer branch, it becomes disconnected from the copy in the…
Todd Freed
  • 877
  • 6
  • 19
2
votes
2 answers

Version control for interdepedent modules

How do I track and manage the dependencies of software modules under version control? I am building several websites, each of which uses a particular Apache configuration, particular Django code, a shared Python library, and some shared…
chernevik
  • 3,922
  • 9
  • 41
  • 55
2
votes
1 answer

SVN externals broken after relocation

So we recently moved our SVN server from being a root path (svn://sever/) to being a subfolder (svn://server/sub/) to allow multiple repositories on the same server. We have a number of working copies already checked out that we'd like to just keep…
mrdrbob
  • 704
  • 1
  • 7
  • 14
2
votes
2 answers

How to check out SVN external URL directly?

I have a Subversion repository that contains some client files. Some clients will use the standard files, but other clients will provide custom versions of the files. To accommodate this, I've used svn:externals for the clients that will use the…
vincentj
  • 168
  • 1
  • 3
  • 13
2
votes
1 answer

How to update SVN externals automatically

We currently use VSS for source control management, but we want to convert to some other system. VSS enables sharing single files between different projects. It seems that among popular SCM systems only (?) SVN offers this features as well…
2
votes
2 answers

WordPress Plugins repo, get stable tag

I have a local SVN server running on my machine. In it I have a repository containing some default /wp-content stuff, that I use for every project(default plugins, default theme framework, etc). Today I just remembered that instead of having each…
Nikola Ivanov Nikolov
  • 5,022
  • 1
  • 26
  • 27
2
votes
1 answer

SVN Externals and Revision Association

I would like to use SVN externals to share code files between different projects. I need to ask you a question concerning that feature, but let do it by explaining the situation. I created two projects (directories) on the SVN: 'A' and 'B'. 'A'…
Mariusz Schimke
  • 3,185
  • 8
  • 45
  • 63
2
votes
2 answers

TeamCity SVN externals different credentials

I got a project in TeamCity 7.1.1 for which I defined a VCS root. The VCS root is an external SVN server from which I would like to checkout. The project in the repository contains an svn:external to our internal SVN server. The credentials for the…
Hans Leautaud
  • 1,742
  • 1
  • 19
  • 34
2
votes
1 answer

TortoiseSVN Warning: you are trying to relocate your working copy to a different path inside the same repository

Recently I've been experimenting with svn:externals and started having an error message when I perform SVN Update. Z:\Projects\workB\trunk Cannot relocate 'Z:\Projects\workB\trunk' as it is not the root of a working copy; try relocating…
Teno
  • 2,582
  • 4
  • 35
  • 57
2
votes
2 answers

Programmatically setting svn:externals on a remote repository

I am working on a web-based tool to allow project managers to set up new subversion repositories and corresponding Trac instances. As part of this tool, I'd like to be able to automatically add some specific dependencies to the new repository, like…
BenLanc
  • 2,344
  • 1
  • 19
  • 24
2
votes
1 answer

svn: Error parsing svn:externals property on '.'

If I do svn propset svn:externals 'https://url.to.remote.branch' . svn: Error parsing svn:externals property on '.' : 'https://url.to.remote.branch' If I do svn propedit svn:externals 'https://url.to.remote.branch' . ::vi - enter message:: svn:…
FishStix
  • 4,994
  • 9
  • 38
  • 53