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

Re: svnadmin load assertion

From: Mike A <mabraham_at_monitor.com>
Date: Wed, 6 Aug 2008 07:34:35 -0700 (PDT)

After some poking around, I discovered that the problem was due to
inconsistent behavior by p42svn and svnadmin. p42svn was emitting dir paths
with trailing slashes, while svnadmin dump does not emit trailing slashes.
And svnadmin load is somewhat inconsistent in that it doesn't care about the
trailing slashes if --parent-dir is not specified but asserts if
--parent-dir is specified. After modifying p42svn to not emit the trailing
slashes, svnadmin load --parent-dir ... works correctly.

Mike

Mike A wrote:
>
> I'm trying to load a dump created with p42svn into a repository. If I run
> svnadmin load against an empty repo without the --parent-dir option, the
> dump file loads with no errors and the resulting repo appears to be
> correct. If I create a new repo, add a trunk folder and then try the same
> svnadmin load with the addition of "--parent-dir trunk", I get an
> assertion failure. Here's the svnadmin load that works
>
> D:\P42SVN>svnadmin load d:\repositories\INEEngineTest <INEEngineUI.svndmp
>
> Here's the one that fails
>
> D:\P42SVN>svnadmin load d:\repositories\INEEngineTest --parent-dir trunk
> <INEEng
> ineOPC.svndmp
> <<< Started new transaction, based on original revision 1
> Assertion failed: is_canonical(component, clen), file
> ..\..\..\subversion\libsvn
> _subr\path.c, line 120
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
>
> I've tried every combination of things I can think of, and the net result
> is that if I specify --parent-dir, I get an assertion.
>
> I'm running VisualSVN Server 1.5.2 on Windows Server 2003. The svnadmin
> version is
>
> D:\P42SVN>svnadmin --version
> svnadmin, version 1.5.1 (r32289)
> compiled Jul 28 2008, 18:01:23
>
> Copyright (C) 2000-2008 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet
> (http://www.Collab.Net/).
>
> The following repository back-end (FS) modules are available:
>
> * fs_fs : Module for working with a plain file (FSFS) repository.
>
> Any and all assistance/suggestion for things to try gratefully accepted.
>
> Thanks,
>
> Mike
>

-- 
View this message in context: http://www.nabble.com/svnadmin-load-assertion-tp18839520p18852586.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-06 16:35:01 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.