Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
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 ...
Ken's user avatar
  • 79.2k
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 ...
Eltariel's user avatar
  • 1,298
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?
user avatar
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 ...
Jason S's user avatar
  • 191k
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 ...
stijn's user avatar
  • 36.1k
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 ...
dnndeveloper's user avatar
  • 1,661
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:...
newmanne's user avatar
  • 2,109
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:...
user495368's user avatar
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 ...
wowpatrick's user avatar
  • 5,220
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 ...
Brian R. Bondy's user avatar
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 ...
davur's user avatar
  • 1,438
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:...
Andres Jaan Tack's user avatar
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 ...
dnndeveloper's user avatar
  • 1,661
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 ...
NerdStarGamer's user avatar
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 ...
Brian R. Bondy's user avatar
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 ...
mjs's user avatar
  • 65.5k
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 ...
Marcus Stade's user avatar
  • 5,054
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 ...
Teno's user avatar
  • 2,642
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 ...
guice's user avatar
  • 1,114
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 ...
David Moorhouse's user avatar
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 ...
JesperE's user avatar
  • 64.8k
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 ...
pauldoo's user avatar
  • 18.8k
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 ...
bialix's user avatar
  • 22k
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 ...
Flyounet's user avatar
  • 115
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 ...
David Baird's user avatar
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 ...
Legolas's user avatar
  • 12.4k
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/ ...
egherrmann's user avatar
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 ...
Teno's user avatar
  • 2,642
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://...
Meidan Alon's user avatar
  • 3,104
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?
Arpit's user avatar
  • 6,288
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/...
aleemb's user avatar
  • 32.2k
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 ...
Teno's user avatar
  • 2,642
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 ...
Sachin Kainth's user avatar
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 ...
silviot's user avatar
  • 4,788
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 ...
Claudiu's user avatar
  • 231k
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 ...
Sonny's user avatar
  • 8,366
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....
nowox's user avatar
  • 29.7k
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 ...
Marco Savo's user avatar
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 ...
mark's user avatar
  • 6,609
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 ...
martinus's user avatar
  • 18.1k
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 ...
dummzeuch's user avatar
  • 11.3k
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 ...
Armin's user avatar
  • 16k
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 ...
Dylan Beattie's user avatar
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 ...
Jason S's user avatar
  • 191k
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, ...
Charles's user avatar
  • 1,213
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 ...
Marco Savo's user avatar
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 ...
Herb Caudill's user avatar
  • 50.1k
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 (...
Stewart's user avatar
  • 5,210
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 ...
Seth's user avatar
  • 8,373
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....
Morgan Cheng's user avatar
  • 76.4k

1
2 3 4 5 6