FW: Not able to filter out the old revisions / rearrange the revisions in project
From: Pulkit Kumar <pulkit_kumar_at_persistent.co.in>
Date: Thu, 23 Jul 2009 12:41:22 +0530
Hello All,
There is some confusion in my below mail so just to be more specific:
In our SVN environment we have multiple projects in a single repository lets say X, I have imported a project lets say Y in a new repository lets say Z by using svnsync utility and the project Y was mirrored successfully in the new repository Z.
Now the project Y in repository Z is having all the committed revisions for all other projects that are present in repository X, those revisions are like empty revisions present project Y.
For e.g. Ideally project Y is having 1000 commits so it should have only 1000 revisions but it is having more than 20,000 revisions means 19,000 commits are of other projects in repository X
Again, I executed following commands:
1) On Windows : svnadmin dump /path to repo/|svndumpfilter --drop-empty-revs --renumber-revs --skip-missing-merge-sources include Y > Y_final
svnadmin load /path/to/targetrepo/ < Y_final
2) On UNIX: cat dump | svndumpfilter include Y --drop-empty-revs --renumber-revs > dump_final
But again none is solving the purpose.
Any pointers on the same will be highly appreciated.
Regards,
________________________________
Hello All,
Greetings for the day!!!!!
In our SVN environment we have multiple projects in a single repository lets say X, I have imported a project lets say Y in a new repository by using svnsync utility and the project Z was mirrored successfully in a new repository lets say Y.
Now the project Y in repository Z is having all the revisions that are present in repository X, those revisions are like empty revisions present project Y.
To filter out the old revisions / rearrange the revisions in project Y (e.g. 1,2,3....n excluding the empty revisions) I have executed the following commands:
1) svnadmin dump /path/to/sourcerepo/ | svndumpfilter --drop-empty-revs --skip-missing-merge-sources include /folder/to/move/ > dumpfile
svnadmin load /path/to/targetrepo/ < dumpfile
2) svnadmin dump /path/to/sourcerepo/ | svndumpfilter --renumber-revs --skip-missing-merge-sources include /folder/to/move/ > dumpfile
svnadmin load /path/to/targetrepo/ < dumpfile
But none of them solved the purpose.
Kindly let me know whether this is a known issue with svndumpfilter or the approach that I am following is incorrect.
Regards,
DISCLAIMER
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.