[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug? inter-repository single-file externals not working

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 18 May 2010 10:32:38 -0400

From the SVN 1.6 Release notes:


Support for files in svn:externals (client)

If the URL in a svn:externals description refers to a file, it will be
added into the working copy as a versioned item.

There are a few differences between directory and file externals.

* The path to the file external must be in a working copy that is
already checked out. While directory externals can place the external
directory at any depth and it will create any intermediate
directories, file externals must be placed into a working copy that is
already checked out.
* The file external's URL must be in the same repository as the URL
that the file external will be inserted into; inter-repository file
externals are not supported.
* While commits do not descend into a directory external, a commit in
a directory containing a file external will commit any modifications
to the file external.

The differences between a normal versioned file and a file external.

File externals cannot be moved or deleted; the svn:externals property
must be modified instead; however, file externals can be copied.

Other facts.

A file external shows up as a X in the switched status column.

On Tue, May 18, 2010 at 10:19 AM, Peter Daum <gator_ml_at_yahoo.de> wrote:
> Hi,
> The documentation for subversion 1.6 sounds like single-file externals
> should work the same way as other externals. However, it seems like this
> currently only works within the same repository.
> I couldn't figure out, if this is a bug, a known issue or ...
> A corresponding bug had been closed, but it seems like at least at least
> at the time this bug was closed, it worked only within a repository. See
> http://subversion.tigris.org/issues/show_bug.cgi?id=937
> and the discussion at
> http://www.svnforum.org/2017/viewtopic.php?t=9219&sid=acf063f8e7eabe6807e3713a7d1a98fe
> Regards,
>                        Peter

Mark Phippard
Received on 2010-05-18 16:33:08 CEST

This is an archived mail posted to the Subversion Dev mailing list.