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

svnadmin dump/verify/load uses svn_path_join

From: D.J. Heap <djheap_at_gmail.com>
Date: 2007-03-13 13:08:04 CET

I've run into a rather nasty issue with a repository using trunk code.

I've attached a test repository that works fine in 1.4.x or earlier
but croaks when loading with trunk code built on Windows.

The core issue seems to be that the dump/verify/load code uses
svn_path_join on url's and svn_path_join now seems to be assuming that
it is working with filesystem paths, not urls.

This means that in Win32 builds, 'svnadmin dump/load/verify' asserts
and aborts for repositories that have urls such as '/c:hi' (it can't
be checked out on Windows, of course, but that is a client/filesystem
issue). It is probably not as much of an issue on Unix-type OS'
because their filesystem paths look a lot like urls.

Should 'svnadmin dump/verify/load' not be using svn_path_join or
should svn_path_join work with urls?

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Mar 13 13:08:26 2007

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

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