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

Re: File external that worked fine in 1.6.x not working in 1.7.5

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Thu, 26 Jul 2012 23:55:04 +0200

On Thu, Jul 26, 2012 at 5:51 PM, Benjamin Fritz <fritzophrenic_at_gmail.com> wrote:

[snip]

> Right, but you mentioned I should try with absolute paths. I chose to
> demonstrate it works with absolute paths, and also to demonstrate the
> problem with a transcript rather than just a prose description.

Ok, thanks for going through the details, it's important to get those right.

[snip]

> It is strange that I'm getting 'E' for "existed" when there was no
> README.txt file already in that directory. Additionally, it DOES
> result in an README.txt file exactly where I want it when the checkout
> completes, and svn info shows that it is associated with the correct
> repository location. When I delete the external-test directory and
> follow exactly the same procedure using the 1.7.5 svn client, I get
> the W200007 message given earlier, and no README.txt file in the
> scripts directory.

Okay, I just had a chat on irc [1] with Bert Huijben, one of the devs
who did a lot of work to keep file externals working with the new
working copy layer of 1.7. It's now clear that file externals were
never supposed to work cross-repository (as I suspected), and the fact
that this worked in 1.6 was a bug (also, the fact that it yields an
'E' notification is probably another bug).

He pointed to r1133704 [2] where the behavior was changed, and the bug
was fixed ("Properly detect that a file external definition is applied
outside the context of the current working copy.").

So I'm sorry, this was not supposed to work, and you'll need to find
another way to accomplish what you want to do.

We also talked a bit about the ^/../ in your url's, which was also a
bit of a surprise. We didn't know about that "feature", but it seems
to work fine, and we didn't see a problem with it. Bert added a
regression test for it, so it keeps working in future versions :-).
(as an alternative, you could have used "/reposB/...", because if I
understand correctly, "/" refers to the server root (according to 'svn
help propset')).

[1] http://colabti.org/irclogger/irclogger_log/svn-dev?date=2012-07-26#l261
[2] http://svn.apache.org/viewvc?view=revision&revision=1133704

-- 
Johan
Received on 2012-07-26 23:55:57 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.