I am trying to use svndumpfilter on a Windows platform to create a new
repository for each project in one old repository. I have followed
the documentation in order to do this by first dumping the old
repository into a dumpfile like this:
svnadmin dump repos > repos-dumpfile
Next, the documentation says to pipe the linux cat command through the
svndumpfilter program like this:
cat repos-dumpfile | svndumpfilter include project1 > project1-dumpfile
I have tried this with the following methods, since DOS does not
include cat:
type repos-dumpfile | svndumpfilter include project1 > project1-dumpfile
more repos-dumpfile | svndumpfilter include project1 > project1-dumpfile
print /D:CON repos-dumpfile | svndumpfilter include project1 > project1-dumpfile
Also, I downloaded the cat program for DOS from
unxutils.sourceforge.net and tried these methods:
cat repos-dumpfile | svndumpfilter include project1 > project1-dumpfile
cat –A repos-dumpfile | svndumpfilter include project1 > project1-dumpfile
cat –B repos-dumpfile | svndumpfilter include project1 > project1-dumpfile
where –A means all of the file and –B means to treat the file as a
binary file.
In each case (that produced anything) the generated filtered dumpfile
was very small. When I tried to load the filtered dumpfile into a
newly created repository, it created all the revision numbers, but the
repository remained empty (no data).
Has anyone been successful using the svndumpfilter program on a
Windows platform? If so, how!? Also, is this a functionality that
the Subversion software should be able to accomplish without relying
on an external program, i.e. cat?
Thanks in advance,
Floor
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. Learn more.
Received on Wed Dec 29 05:40:58 2004