On Fri, Jan 30, 2009 at 11:00 PM, PIRAMANAYAGAM <nayagam-m_at_hotmail.com>wrote:
> Hi Hari,
> Thanks for your suggestion.
> I am currently in /backup/data/svnrepo
> I took the full dump using this command - svnadmin dump
> /backup/data/svnrepo/test/ > 1_23612_test_incr.dump
> From this full dump, I need a folder (incl. subfolders and files) which is
> located in \test\versions\projects\demo\D4.6. So, I execute the below
> cat 1_23612_test_incr.dump | svndumpfilter include --drop-empty-revs
> --renumber-revs test/versions/projects/demo/D4.6 > d46.dump
> Here also the d46.dump file size is 582 bytes. Could you please check am i
> using the right commands? Also, I hope you understand my requirement.
I am almost certain that the include path given to svndumpfilter is the
issue. You have to make sure the path is correct. Is "test/" part of the
repository. From the commands you are executing, it looks like test is the
directory where the repository exists and not a directory in the repository.
As I suggested in my previous email you can look at the dump file to get an
idea of the directory structure. For example you could grep Node-path. (cat
1_23612_test_incr.dump | grep Node-path.. you have a large dump file and so
the output of this command will also be huge and so use more
grep/awk/sort/head/tail or such to filter what you want).
Once you get the path right, I am pretty sure you will be able to get the
filtered dump file right.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-31 08:19:09 CET