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
0 answers

How to "un-externalize" a file in a mirrored subversion repo?

I'm in the process of converting a subversion based project to mercurial using the hgsubversion extension. The subversion repo has a directory with an svn:externals properties that references two files from another project. Hgsubversion can convert…
MSlimmer
  • 160
  • 1
  • 10
1
vote
1 answer

svn external path on a versioned directory

Say I have the following structure (on the same svn server, but different repos): Repo: A/ A/B/c.py External Project: C/D/ C/B/f.py I want to set svn:externals on A/, like so: ^/../C/D A/D ^/../C/B A/B My goal is to have the resulting structure…
shawalli
  • 577
  • 7
  • 11
1
vote
1 answer

svn external for git?

New to git, I have searched a lot, didn't find a robust solution. I got 2 projects, A and B. A contains [A code] and [SHARED CODE], B contains [B code] and [SHARED CODE]. With svn, I could put a svn external in project B that links to subdirectory…
user2530437
  • 33
  • 1
  • 5
1
vote
1 answer

Git: clone/subtree/filter only sub-directory of 3rd party lib

svn:externals "http://svn.3rdapp.com/project/subdir/subdir/ lib/mydir/subdir" SVN allows developers to include sub-directories of 3rd party libraries into sub-directories of their own repo. I'd like to include only a sub-directory of the 3rd party…
MrYellow
  • 426
  • 6
  • 23
1
vote
1 answer

Merging svn externals causes lots of problems

I created a branch from the trunk and worked on the branch. I then merged changes from the trunk to the branch and then merged from branch back to trunk. All this worked as it always does. The problem is that the solution contains an external and…
Sachin Kainth
  • 45,256
  • 81
  • 201
  • 304
1
vote
0 answers

Blocking changes to properties/externals when merging in SVN

I have an environment set up where my externals point to a different location in every branch. When I merge my code from one branch to another, I always wind up with a merge conflict in the project properties that has to be manually resolved. …
1
vote
1 answer

Point SVN Externals at a CVS Repository

Is it possible to point an SVN Externals directive at a CVS repository?
Mark Elliot
  • 75,278
  • 22
  • 140
  • 160
1
vote
0 answers

How to check where a file/directory is referenced from (svn:externals)

My question concerns the Subversion VCS and the feature of svn:externals. I would like to find out where a file or directory is referenced from by the externals. Not to be misunderstood, I don't want to get a list of externals defined in my working…
Mariusz Schimke
  • 3,185
  • 8
  • 45
  • 63
1
vote
1 answer

How do I stop SVN creating a "branches" folder when updating an external referencing a GitHub repo?

I have a simple git repo hosted on GitHub that I wish to pull into a project that is maintained in an SVN repo. There are 2 branches in the Git repo (currently, more will come) but I only want and need to pull in the current "master" branch of the…
Deltics
  • 22,162
  • 2
  • 42
  • 70
1
vote
0 answers

How did git(-svn) set correct links to svn:externals?

This is not a question about something not working, it is a question to understand why something is working. Here is my setup: projects | |--- mylibs | |--- main I have two different, unrelated git-svn checkouts mylibs and main. They…
Alex
  • 41,580
  • 88
  • 260
  • 469
1
vote
3 answers

Recommended code-reuse

I'm starting a new project in Scala that heavily depends on source files in another Java project. At first I thought about creating a new package/module in that project, but that seemed messy. However, I don't want to duplicate the Java code in my…
stan
  • 4,885
  • 5
  • 49
  • 72
1
vote
1 answer

Why do I get a svn: Illegal repository URL '' error when using maven's release plugin?

I was using mvn release:branch ... And I got this cryptic error: [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 27.391s [INFO] Finished at: Mon Jan 07 17:22:46 PST…
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356
1
vote
1 answer

Nant: Building projects using svn-externals

Using subversion and Nant for building. I have a main project that depends on several sub-projects. The sub-projects exist as separate projects inside subversion. My question is: Should the nant build script in the main project build all the…
User
  • 62,498
  • 72
  • 186
  • 247
1
vote
2 answers

can we set svn:external for a single file in debian

can we set svn:external for a single file in debian
Reji S Nair
1
vote
1 answer

Synergy CM equivalent of SVN Externals?

Trying to determine if there is any behavior analogous to SVN:Externals in IBM Rational Synergy CM. Ultimate objective is to find a more integrated way for Synergy projects existing in one database to contain files originating from another database…
rev_t
  • 15
  • 2