On Jan 29, 2008, at 8:36 PM, Augie Fackler wrote:
> Hey all,
>
> I was getting back into a project and so was doing a clean checkout
> of their code, and noticed I couldn't fetch a wc using a 1.5 client,
> but could with 1.4. In 1.5:
> % svn co http://svn.perian.org/trunk perian3
> svn: Error at entry 1 in entries file for 'perian3':
> svn: Entry contains non-canonical path 'http://svn.perian.org/'
>
> Whereas with a 1.4 client the checkout works (other than some
> externals being down) as expected.
>
> [8:27pm] <glasser>I bet we added extra canonicalization check at
> some point, and scheme://host/ canonicalizes to scheme://host
> [8:27pm] <glasser>(which might be wrong)
> ...
> [8:28pm] <glasser>Looks like the check was added in r26472 by
> cmpilato for #2780
> [8:29pm] <glasser>I *think* the main issue here is that http://svn.perian.org/
> should be considered canonical, not http://svn.perian.org
>
> That's the summary of what I've seen. The Perian repo referenced
> above is open for anon. access (other than maybe the website part,
> but trunk works for testing), so that should be usable for testing
> by anyone that needs it. Let me know if I can lend a hand at all on
> this.
I've done a little more looking, and the 1.5 client writes out
different .svn/entries:
--- perian-1.5wc/.svn/entries 2008-01-29 20:26:25.000000000 -0600
+++ perian-1.4wc/.svn/entries 2008-01-29 22:13:09.000000000 -0600
@@ -1,28 +1,1145 @@
-9
+8
dir
-791
+792
http://svn.perian.org/trunk
-http://svn.perian.org/
+http://svn.perian.org
<the rest snipped for brevity>
I'll look and see if I can find where this is coming from, but the
error actually seems to be the wrong path gets written into entries.
If I hand-edit .svn/entries in the 1.5 wc to remove the trailing
slash, everything works and the update proceeds as expected (until it
gets to a subdir, and I have to do it per-run because entries gets
rewritten with the bad trailing slash).
Just wanted to document what I'd found so it didn't get lost, and so
someone else could pick up on it if need be.
Peace,
Augie
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-30 21:08:20 CET