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

svndumpfilter, include copied paths - correct procedure?

From: Lasse Kliemann <lasse-subversion-users-2004_at_plastictree.net>
Date: Sun, 3 May 2009 19:57:31 +0200

Suppose I'd like to use svndumpfilter to include just paths
p_1,...,p_n. I do not recall in detail if these are copies (in
the sense of 'svn cp') of other paths. So I simply start with

svndumpfilter include p_1 ... p_n < dump-in > dump-out

Now, the operation aborts:

svndumpfilter: Invalid copy source path '/X_1'.

Then I add 'X_1' to the to-be-included paths:

svndumpfilter include p_1 ... p_n X_1 < dump-in > dump-out

The operation gets further, but then stops again:

svndumpfilter: Invalid copy source path '/X_2'.

Again, I augment the list of paths:

svndumpfilter include p_1 ... p_n X_1 X_2 < dump-in > dump-out

And so on.

Finally, a command of the following form runs through without
error:

svndumpfilter include p_1 ... p_n X_1 ... X_m < dump-in > dump-out

My question: is the filtered dump now guaranteed to provide
paths p_1,...,p_n and X_1,...,X_m exactly as they can be found in
the original repository?

I did several tests, and it appears so. But I'd like to hear an
expert's advice on this.

Thank you!
Lasse

  • application/pgp-signature attachment: stored
Received on 2009-05-03 19:38:13 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.