You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Aaron Searle <aa...@securitynational.com> on 2008/12/22 20:26:59 UTC

svndumpfilter

I cannot find that svndumpfilter can take a regular expression or wild card.

I have some developers that have committed .o files and bin folders on some repos and I want to clean them all up.

They are not all at the root directory, so the simple "svndumpfilter exclude bin/" will not take care of all cases.

Here are my cases

/bin/
/SomeFolder/bin
/SomeOtherFolder/bin/somefile.o

How do I remove all bin folders and all *.o files without having to know every full path to every bin folder and .o file?


CONFIDENTIALITY NOTICE - THIS EMAIL TRANSMISSION AND ANY DOCUMENTS, FILES OR PREVIOUS EMAIL MESSAGES ATTACHED TO IT MAY CONTAIN INFORMATION THAT IS CONFIDENTIAL OR LEGALLY PRIVILEGED.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR A PERSON RESPONSIBLE FOR DELIVERING IT TO THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT YOU MUST NOT READ THIS TRANSMISSION AND THAT ANY DISCLOSURE, COPYING, PRINTING, DISTRIBUTION OR USE OF ANY OF THE INFORMATION CONTAINED IN OR ATTACHED TO THIS TRANSMISSION IS STRICTLY PROHIBITED.  IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY TELEPHONE OR RETURN EMAIL AND DELETE THE ORIGINAL TRANSMISSION AND ITS ATTACHMENTS WITHOUT READING OR SAVING IN ANY MANNER.  THANK YOU.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svndumpfilter

Posted by Aaron Searle <aa...@securitynational.com>.
I should have made it more clear. I am moving repos from an old server
to a new server with more space. I wanted to clean up versions where
people committed ( then deleted ) bin folders. This should clean up
space on the hard drive. For instance one developer has been
committing .o files for months before we found out. All those should
not be in source control taking up space.

I have a pre-commit script to prevent this in the future. But I want
to fix the past.

Sent from A's wicked cool iPhone

On Dec 22, 2008, at 5:06 PM, "Tyler Roscoe" <ty...@cryptio.net> wrote:

> On Mon, Dec 22, 2008 at 01:26:59PM -0700, Aaron Searle wrote:
>> I have some developers that have committed .o files and bin folders
>> on some repos and I want to clean them all up.
>>
>> They are not all at the root directory, so the simple
>> "svndumpfilter exclude bin/" will not take care of all cases.
>
> find -name *.o | xargs svn rm
> [review changes]
> svn commit
>
> Is there some reason you need to mess with dumping and filtering?
>
> tyler
>

CONFIDENTIALITY NOTICE - THIS EMAIL TRANSMISSION AND ANY DOCUMENTS, FILES OR PREVIOUS EMAIL MESSAGES ATTACHED TO IT MAY CONTAIN INFORMATION THAT IS CONFIDENTIAL OR LEGALLY PRIVILEGED.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR A PERSON RESPONSIBLE FOR DELIVERING IT TO THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT YOU MUST NOT READ THIS TRANSMISSION AND THAT ANY DISCLOSURE, COPYING, PRINTING, DISTRIBUTION OR USE OF ANY OF THE INFORMATION CONTAINED IN OR ATTACHED TO THIS TRANSMISSION IS STRICTLY PROHIBITED.  IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY NOTIFY THE SENDER BY TELEPHONE OR RETURN EMAIL AND DELETE THE ORIGINAL TRANSMISSION AND ITS ATTACHMENTS WITHOUT READING OR SAVING IN ANY MANNER.  THANK YOU.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svndumpfilter

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 22, 2008, at 18:03, Tyler wrote:

> On Mon, Dec 22, 2008 at 01:26:59PM -0700, Aaron Searle wrote:
>
>> I have some developers that have committed .o files and bin  
>> folders on some repos and I want to clean them all up.
>>
>> They are not all at the root directory, so the simple  
>> "svndumpfilter exclude bin/" will not take care of all cases.
>
> find -name *.o | xargs svn rm
> [review changes]
> svn commit
>
> Is there some reason you need to mess with dumping and filtering?

If there is, then take a look at svndumptool which has a lot more  
features than svndumpfilter:

http://svn.borg.ch/svndumptool/

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svndumpfilter

Posted by Tyler <ty...@cryptio.net>.
On Mon, Dec 22, 2008 at 01:26:59PM -0700, Aaron Searle wrote:
> I have some developers that have committed .o files and bin folders on some repos and I want to clean them all up.
> 
> They are not all at the root directory, so the simple "svndumpfilter exclude bin/" will not take care of all cases.

find -name *.o | xargs svn rm
[review changes]
svn commit

Is there some reason you need to mess with dumping and filtering?

tyler

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].