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

SVN repo with external trunk

I have read-only access to the trunk of a SVN repository and I want to create another SVN repository in which the trunk is taken from the previous repository. I tried using the "externals" tag, but when I clone the trunk to create a new branch I…
Valse
  • 3
  • 1
0
votes
1 answer

Sparse checkout leaves no entry on working directory when using git-externals

We're migrating from SVN to git and now having the problem that we need any replacement for our svn externals. Unfortunately, submodules are not solving our problems since any change in the submodule requires an update of the parent project. So we…
Nrgyzer
  • 783
  • 1
  • 14
  • 38
0
votes
1 answer

How to propedit svn:externals in Windows7-cmd.exe?

In linux, we can use the following command to edit svn:externals EXPORT SVN_EDITOR=vim svn propedit svn:externals ./ but vim is no support in Windows7-cmd.exe, how can i edit svn:externals in Windows7-cmd.exe?
lovecy
  • 1
  • 1
0
votes
1 answer

When labelling VCS from TeamCity, how can I make externals be pinned to a specific revision

(I can't understand why SVN even lets you create a tag with externals that point to HEAD, but be that as it may...) I've finally managed to get automatic build labelling working, and I see my tags created in SVN on successful builds, but the…
Benjol
  • 63,995
  • 54
  • 186
  • 268
0
votes
0 answers

Create a shorcut with GIT into the same repository (similar to SVN externals)

We are migrating projects from SVN to GIT. I have an issue. In one of the SVN project, they used SVN externals in order to create shortcuts between modules like this : -ModuleA |_ srcA -ModuleB |_ srcB -Common |_ srcCommon …
Chaguyot
  • 13
  • 5
0
votes
3 answers

Project properties lost on external checkout

Our company might be moving from CVS to Subversion soon. This has brought about an issue for us, which I am trying to solve. For CVS and Eclipse, we were able to use team project set files to gather various modules and check them out together…
Sagar
  • 9,456
  • 6
  • 54
  • 96
0
votes
1 answer

SVN merge svn:externals from trunk to branch

We merge changes from time to time from trunk to our current branches. We use SVN 1.7.6 and tried it with SmartSVN and Tortoise SVN. It does not work to merge the changes made in the svn:externals property (new externals, raised fixed revisions of…
0
votes
0 answers

Auto update externals revision

I am currently using externals to substitute symlinks in my repo, because I have working copies on Windows and Linux. The reason for this is that I want my code to build on both. So I currently use externals which includes only folders of the repo…
CodyMouse
  • 1
  • 2
0
votes
1 answer

svn make a duplicate copy of file and rename it after committing a file

My requirements are: Let's say I commit a file called MyFile.item. After this, SVN should make a copy of this file to some other SVN location. Once it is copied to another location it should also rename the file in new location as…
Raghu
  • 1
  • 1
0
votes
1 answer

Auto resolving references' path on project

I think I have misunderstood something about Visual Studio's project references or SVN:externals - maybe both :) -. The fact is that I have three projects: A has no references itself B refers to A's DLL, checked out via SVN:externals when updated…
0
votes
3 answers

protect svn externals

I have a project in a svn with externals, for example - myproject | |--------stuff1 |--------stuff2 |--------external-lib // svn::external I need to add a file (a Makefile) inside the external-lib directory, I want to commint it inside my…
Ruggero Turra
  • 16,929
  • 16
  • 85
  • 141
0
votes
1 answer

How to convert svn:externals to git tags

I'm working on converting a pretty decently sized SVN repo. It is ~50 projects which comprise ~5 different deliverable products (some projects are shared amongst all products, others projects are shared with only a couple products, and many…
kinar
  • 402
  • 1
  • 7
  • 22
0
votes
1 answer

Replacing files in svn tree with an external reference results in delete/checkout conflict

I replaced files that originally existed in SVN repository with svn:externals references. Now every svn update deletes each file and checks it back out. How do I fix this? Details With all code revision-controlled under SVN I started…
Marcin K
  • 291
  • 2
  • 13
0
votes
2 answers

Convert SVN External to Normal Directory

This seems like a it would be pretty simple to do but I have not had any luck finding the answer. I have project with the following structure: trunk src Doc lib external-lib1 external-lib2 Of course the external-lib1 …
Alex
  • 1,891
  • 3
  • 23
  • 39
0
votes
0 answers

Mercurial partial clone in subrepository or guestrepo

Is it possible to do a partial clone of a mercurial repository as either a subrepository or a guestrepo? description: given a repo at https://blah/hg/foo/ named foo and another repo named cat , I'd like to create a guestrepo in cat from a certain…
n611x007
  • 8,952
  • 8
  • 59
  • 102