You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lasse Kliemann <la...@plastictree.net> on 2009/05/03 17:57:31 UTC
svndumpfilter, include copied paths - correct procedure?
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