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

Re: bug? svndumpfilter / svnadmin load fail

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-02-24 20:47:18 CET

Scott Scriven <svn-users@toykeeper.net> writes:

> * kfogel@collab.net <kfogel@collab.net> wrote:
> > I think this is expected behavior.
>
> I can understand how it may be reasonable behavior, but does not
> seem like useful behavior. It should probably create parent dirs
> as necessary, so filtered dumps can be loaded into blank
> repositories.

If it creates parent dirs, then you can't load the dumpfile into a
repository that already has those directories. 'svnadmin repos' can't
look at the dumpfile and know the difference between a directory
that's being created just because it was a necessary intermediate path
component, or if it is a real versioned thing. So it doesn't let you
make stuff that already exists.

> Perhaps it should have an option to do so?

Perhaps. Or perhaps the dump format could make intermediate
directories, but add a header for those dir creations that says "Hey
Loader, if my repository already has this directory, don't sweat it."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 24 20:47:37 2004

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.