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
1
vote
1 answer

Error setting property 'externals' message on SVN Commit

I've added svn:externals for a project in subversion, hosted on github. But when I attempt to commit the project I get the following message: Error Commit failed (details follow): Error At least one property change failed; repository is…
1
vote
1 answer

How to do a "svn copy without externals" ?

I have a branch A with externals I need to copy the content (without the externals) to a tag B. How to proceed ? I tried, svn copy A B --ignore-externals It did not work. Please note that A and B are complete https paths.
Harsha K L
  • 627
  • 1
  • 7
  • 16
1
vote
1 answer

Modified files in externals

I have a sandbox, which has directories in the repository intermingled with directories directly from the repository. svn status --ignore-externals will tell me the status of the files that are in the repository. What is a good way to do the…
Troy Daniels
  • 3,270
  • 2
  • 25
  • 57
1
vote
1 answer

TortoiseSVN - creating a patch with externals

I have fairly complex projects using SVN with externals. Also, I am using TortoiseSVN 1.8.4 Build 24972 - 64 Bit , 2013/11/24 11:15:39 + Subversion 1.8.5, -release. I can see the overlay icon of the "modified" status on the cehcked out copy's root,…
1
vote
2 answers

SVN externals and tagging

I'm using a trunk based development model with SVN externals using the HEAD revision. Is there a way to automatically fix the current revision of the externals when I'm tagging a version? Currently, I have to set SVN externals properties to the…
pmf
  • 7,619
  • 4
  • 47
  • 77
1
vote
1 answer

subversion externals alternative on perforce

We are in the process of converting from svn to perforce but have some issues to resolve, relating to our current workflow. At the moment a project release consists of a Source/ directory which comprises both local source files and a list of…
Sourmix
  • 21
  • 1
1
vote
1 answer

Does Subversion 1.7 support relative file external paths to files in the same directory?

I have a directory with the following, which I'm trying to check into Subversion: foo.html foo.html --> index.html That is to say, index.html is a symlink to foo.html. (Yes, I know this is silly, but we have to do it because reasons.) foo.html is…
David Moles
  • 48,006
  • 27
  • 136
  • 235
1
vote
3 answers

SVN External Files / Folders

Could someone share some info or reference links which sheds some in-depth information on how SVN handles 'external' folders / files. I did get some links from SO and some other sites, but none of them explain it in detail. I am developing a generic…
Joe Varghese
  • 59
  • 1
  • 9
1
vote
2 answers

Set svn:externals to current local directory

I have the following local folder structure: Top-Level Checkout |-Project1 | -Project Specific Files | |-Project2 | -Project Specific Files For which I want to add a svn:externals property to the Project1 for some .dll files that live in my…
Brandon
  • 4,491
  • 6
  • 38
  • 59
1
vote
0 answers

SVN externals appear as unversioned

In my SVN repo I have the following structure: /shared /project And I want to include the shared folder as an external within the project folder so I have: /project/shared So I defined an external property on the…
codingFriend1
  • 6,487
  • 6
  • 45
  • 67
1
vote
2 answers

Can I add a subversion external as an inline folder that I am adding it to?

I have two folders laid out as below: svn/BaseLibrary/trunk (which contains) svn/BaseLibrary/trunk/Core svn/BaseLibrary/trunk/Controls I would like to include BaseLibrary as an external on another project so that the Core and Controls libraries sit…
John_
  • 2,931
  • 3
  • 32
  • 49
1
vote
1 answer

is it possible not to have extra subdirectory when using Git - submodule - sparse-checkout?

I want to mimic behavior like svn:externals: I have a master project and I have some "common" code in another repository. With SVN I would do: svn co /src common and my folder structure would be: repo/common/*.cpp Now with git + submodule +…
Chris Maes
  • 35,025
  • 12
  • 111
  • 136
1
vote
1 answer

Check out file in multiple locations within the same repo similar to SVN externals

I've ported a SVN repo to GIT, but previously I have an svn:external file and it's not recognized in GIT. Is it possible to do external files like SVN where you have a single source of a file, but checked-out into other directories of the same…
calebo
  • 3,312
  • 10
  • 44
  • 66
1
vote
0 answers

Can an SVN external pull down a Git repository's submodules?

Since Github allows you to pull Git repositories down as SVN, I've included a Github repository as an external. trunk (svn:external https://github.com/Automattic/vip-quickstart base) ... that works great. BUT that repository has its own submodules…
developdaly
  • 1,373
  • 3
  • 16
  • 26
1
vote
1 answer

SVN externals and TortoiseSVN - why did the order of local path and URL switch places?

I have a code which helps me updating svn:externals property when creating a new branch of a project. Previously I had an older Tortoise SVN version. My code for svn:externals of my lib folder looked like this: php/somelib …
JustAMartin
  • 13,165
  • 18
  • 99
  • 183