254 questions
70
votes
7
answers
21k
views
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 ...
61
votes
4
answers
10k
views
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 ...
33
votes
4
answers
24k
views
Can we set a single file as external in Subversion?
Can we set a single file as external in Subversion?
22
votes
5
answers
36k
views
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
...
20
votes
2
answers
13k
views
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 ...
19
votes
8
answers
9k
views
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 ...
18
votes
1
answer
15k
views
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:...
17
votes
1
answer
21k
views
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:...
15
votes
3
answers
12k
views
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 ...
14
votes
5
answers
3k
views
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 ...
14
votes
2
answers
3k
views
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 ...
14
votes
2
answers
8k
views
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:...
13
votes
2
answers
15k
views
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
...
12
votes
4
answers
6k
views
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 ...
11
votes
3
answers
10k
views
When updating a whole project's root, how can I 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 ...
11
votes
4
answers
11k
views
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 ...
11
votes
4
answers
6k
views
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 ...
10
votes
2
answers
7k
views
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 ...
9
votes
3
answers
12k
views
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 ...
9
votes
1
answer
17k
views
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 ...
9
votes
1
answer
2k
views
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 ...
9
votes
4
answers
20k
views
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 ...
8
votes
2
answers
497
views
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 ...
8
votes
1
answer
5k
views
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 ...
7
votes
2
answers
8k
views
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 ...
7
votes
2
answers
17k
views
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 ...
7
votes
2
answers
3k
views
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/ ...
7
votes
2
answers
11k
views
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 ...
6
votes
2
answers
5k
views
Changing svn repository url in externals property
I'm moving my repository to a new location, but I have folders with the (same) repository URL hard-coded in the externals properties. e.g:
old URL: https://OldLocation.Domain/svn/
new URL: https://...
6
votes
2
answers
7k
views
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?
6
votes
2
answers
2k
views
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/...
6
votes
2
answers
8k
views
Is it normal that SVN external files are not committed?
I'm fairly new to Subversion and recently learned how to automatically import files which belong to other repositories using svn:externals. And now when I commit the trunk folder and create a tag to ...
6
votes
1
answer
2k
views
How can I get TeamCity to check out SVN externals?
I have a project which TeamCity is downloading from SVN to build. The problem is that I have some externals in the project which SVN does not download and therefore the build fails. is there some ...
6
votes
4
answers
21k
views
Svn repository stopped working with svn+ssh (but works locally on the server)
I had an svn repository that I used to checkout with the svn+ssh protocol. It has some EXTERNALS in it that refer to itself with the svn+ssh URL.
I was off this project for a while until today. When ...
6
votes
2
answers
3k
views
svn: clean way to replace external with local folder of same name
I have a repository checked out in various places. I have a folder X that is an external to another repository. I want X to be local. There are other questions but they don't seem to have run into my ...
6
votes
2
answers
693
views
SVN Development and Release Process - Sanity Check
I am creating a process for working with version control and my web based application. This is what I have so far:
I am doing main development under branches/development and keep that in sync with my ...
6
votes
0
answers
537
views
How to deal with partial svn:externals when migrating to Git?
I would like to import a SVN repository into a GitHub Enterprise repository
There are many questions related to this matter and most of them can be addressed either with Git submodules or Git subtree....
6
votes
1
answer
1k
views
Migrate from svn to git keeping svn-externals
I am migrating from an svn repository to git.
This svn repository has svn-externals, to be kept on svn repositories. These external are versioned and tagged in the history, and are read only.
How I ...
5
votes
1
answer
3k
views
Find paths with svn:external properties with certain string?
I've a very large subversion repository, it's about 7 GB in size and holds many many files and directories from different projects.
Now I did some major change to one project structure which is ...
5
votes
4
answers
3k
views
How to forbid subversion commits to svn:external to revisions?
We use svn:externals to specific revisions of a library, e.g. like
xyzlib -r12345 https://asdf.asdf.local/xyzlib/trunk/
When you make a modification in your working copy to such a checked out ...
5
votes
3
answers
4k
views
How can I redirect svn urls to another domain?
background: DynDNS has now started to require a once a month logon to keep their free accounts active (previously you only had to renew your IP address once a month). I am sure sooner or later I will ...
5
votes
1
answer
5k
views
SVN: Ignore externals when committing
Is it possible to ignore the commit of externals in SVN?
Example:
I have a project and one of the subfolders is an external:
svn:externals
my_remote_folder http://svn.whatever.org/blah/trunk/
This ...
5
votes
2
answers
2k
views
Configure (or mimic) svn:externals to include code from Github in a svn-hosted project
We use Subversion locally, and we're working on a project that uses a fork of Fluent NHibernate, which is hosted on Github.
I'd like it set up so that a single svn checkout will retrieve everything ...
5
votes
2
answers
2k
views
svn: removing an external in the working copy?
I moved one of my (single-file) externals to another directory, but its presence persists in my working copy. If I delete the file and then svn update, it gets restored.
How can I get rid of the ...
5
votes
1
answer
448
views
svn:externals & tagging, how to combine code between teams
In our company, we are working on a product composed of different C/C++ modules. Ideally, each tier and module should be developed by separately by different teams and tested independently. Currently, ...
5
votes
1
answer
4k
views
svn to git migration with nested svn:externals
Migrating from svn with svn externals, to git.
Each svn externals may have it's own svn:externals. There is no guide how to migrate svn with externals to git here that I found useful.
Each branch may ...
5
votes
2
answers
1k
views
How to deploy Subversion externals?
We're testing the waters with SVN, with Beanstalk as a host. Our setup looks something like this:
Repository: Modules
Module 1
Module 2
Module 3
Repository: Website 1
Custom website code
svn:External ...
5
votes
0
answers
429
views
Avoiding SVN recursive checkout of externals
I have a super-project which svn:externals several other projects. They, in turn svn:external their own dependencies. One of my issues is that my dependencies often depend on the same svn:external (...
5
votes
3
answers
1k
views
The Mercurial hgsubversion extension gets SVN Externals to behave like Hg sub repository
This question is related to Using the Mercurial hgsubversion extension with SVN Externals. However, the second part of the question relating to doing a hg svn update has not been answered.
Is it ...
4
votes
3
answers
2k
views
What's the benefits of "svn:externals"?
I would not get to know svn:externals if I haven't run into the this page. So, I setup my working folder. Then
mkdir lib/vendor
svn add --parents lib/vendor
svn ps svn:externals 'symfony http://svn....