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

Can svndumpfilter exclude specific named nodes only ?

From: Kerry, Richard <richard.kerry_at_atos.net>
Date: Wed, 3 Aug 2016 15:35:37 +0000

My understanding from the documentation is that svndumpfilter may be requested to exclude all nodes whose names have a specific prefix (ie this will exclude the named node and all its children).

My specific requirement is to exclude specific named nodes (and not their children). Is it possible to request svndumpfilter to do this ?

The reason for this is that I am using cvs2svn to convert projects that need to end up inserting files/nodes within an existing repo tree. In this case the dump file produced will include all nodes down from the root to the folder I am specifically interested in adding. This includes Root, Root/trunk, Root/tags, Root/branches, which already exist ('Root' here being just an example of the name at the top of the tree). When I attempt to load this using svnadmin load it aborts as these already exist. So I need them not to be present in the dump (or some significantly different approach).

At the moment I can manually edit them out, as there aren't many, which results in the tree as I want it (*), but I wondered if I could get svndumpfilter to do the job for me.

Regards,

Richard.

(*) Almost, but I'll ask about that separately.

Richard Kerry
BNCS Engineer, SI SOL Telco & Media Vertical Practice
T: +44 (0)20 3618 2669
M: +44 (0)7812 325518
4 Triton Square, Regentís Place, London NW1 3HG
richard.kerry@atos.net<https://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177&URL=mailto%3arichard.kerry%40atos.net>

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names used by the Atos group. The following trading entities are registered in England and Wales: Atos IT Services UK Limited (registered number 01245534), Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited (registered number 08514184) and Canopy The Open Cloud Company Limited (registration number 08011902). The registered office for each is at 4 Triton Square, Regentís Place, London, NW1 3HG.The VAT No. for each is: GB232327983.

This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.
Received on 2016-08-03 17:35:55 CEST

This is an archived mail posted to the Subversion Users mailing list.