You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Peter Daum <ga...@yahoo.de> on 2010/05/18 14:19:49 UTC

Bug? inter-repository single-file externals not working

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

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

Posted by Mark Phippard <ma...@gmail.com>.
>From the SVN 1.6 Release notes:

http://subversion.apache.org/docs/release-notes/1.6.html#externals

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 <ga...@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
>
>



-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

Posted by Mark Phippard <ma...@gmail.com>.

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

Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
On Tue, May 18, 2010 at 11:23 AM, Daniel Shahaf <d....@daniel.shahaf.name>wrote:

> Peter Daum wrote on Tue, 18 May 2010 at 16:19 +0200:
> > Hi,
> >
> > The documentation for subversion 1.6 sounds like single-file externals
> > should work the same way as other externals.
>
> Which documentation?
>
> > However, it seems like this currently only works within the same
> > repository.
> >
>
> "Currently", yes.  I don't know whether cross-repository file externals
> are planned as part of wc-ng or not.
>

The data model will support it, but we probably won't get around to
implementing this feature for 1.7.

-Hyrum

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

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Peter Daum wrote on Tue, 18 May 2010 at 16:19 +0200:
> Hi,
> 
> The documentation for subversion 1.6 sounds like single-file externals
> should work the same way as other externals.

Which documentation?

> However, it seems like this currently only works within the same
> repository.
> 

"Currently", yes.  I don't know whether cross-repository file externals
are planned as part of wc-ng or not.

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