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

Re: Clarification in Subversion

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Fri, 30 Jan 2009 23:18:21 -0800

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
> command.
>
> 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.

regards,
-Hari

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1078771

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-31 08:19:09 CET

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.