Posted By

fontanon on 07/31/08


Tagged

svn delete subversion remove


Versions (?)

removeSvn


 / Published in: Python
 

URL: removeSvn

Removes every .svn recursively

  1. #!/usr/bin/python
  2.  
  3. import os
  4. import sys
  5.  
  6. top = sys.argv[1]
  7.  
  8. for root, dirs, files in os.walk(top):
  9. if '.svn' in dirs:
  10. os.system('rm -rf '+os.path.join(root,'.svn'))

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: koncept on September 14, 2008

svn export {from} {to} does the same thing.

You need to login to post a comment.