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

Re: svndumpfilter fails extracting a directory

From: Carsten Koch <Carsten.Koch_at_icem.com>
Date: 2005-07-22 17:53:19 CEST

Hi Christoph,

Christoph Bartoschek wrote:
...
> svndumpfilter: Invalid copy source path '/trunk/fix_clocks.tcl'

I have exactly the same problem.
See my attached message.
(Unfortunately, nobody has replied yet)

The problem is that svndumpfilter refuses to filter
repository paths that contain files which have a
history which originates somewehere else.

What I do not understand is: I thought it is absolutely
normal in svn that files are prepared in mod branches
and then get merged *with history* into the trunk.
So, if that is standard procedure, svndumpfilter will
always refuse to filter out just the trunk.

Carsten.

attached mail follows:


(Please ignore my previous post,
  which was attached to an existing thread by mistake)

As suggested in the subversion book, we are using mod branches
for development. So developers basically do
     svn copy http://host/repos/product/trunk http://host/repos/product/mods/name
then work locally with http://host/repos/product/mods/name and
merge it back into the trunk using something like
     svn co http://host/repos/product/trunk
     svn merge -rstart:end http://host/repos/product/mods/name@end trunk

With a lot of developers, a lot of stuff piles up quickly under
http://host/repos/product/mods, so we would like to clean up
every now and then by dumping the repository and running it
though "svndumpfilter include product/trunk" to get rid of
everything else.

Unfortunately, this does not work. For files that were created in
a mod branch and merged back into the trunk, svndumpfilter
says "svn: Invalid copy source path" and aborts.

I understand that it is impossible to keep the entire history
intact, if the file originates from a mod branch that is not included.
But not including the mod branch is the entire point of the exercise. ;-)
So it would be nice if svndumpfilter would continue, converting the
"merge with history" into a "import without history".

Is there a switch to svndumpfilter that allows me to do that?
Or is it a missing feature?

Thanks for any hint,

Carsten.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 22 17:58:07 2005

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