tkaczanowski

SVN varia

Oct 11th, 2011
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  1. # Set up an ignores file in this directory
  2. svn propedit svn:ignore .
  3.  
  4. # Copy the svnignores.txt file into the svn:ignores information for this directory
  5. # and all contained directories recursively
  6. svn -R propset svn:ignore -F svnignores.txt .
  7.  
  8. #example svnignores.txt
  9. *.ipr
  10. *.iml
  11. *.iws
  12. test-output
  13. target
  14. build
  15. .*
  16.  
  17. #branch creation
  18. svn cp -m "XYZ-123 branch for abc" svn+ssh://user@host/path/to/trunk/dir svn+ssh://user@host/path/to/branches/mybranch-123-abc
  19. svn cp -m "#XYZ branch for xyz" https://subversion.whatever.com/svn/blah/trunk/dir https://subversion.whatever.com/svn/blah/branches/xyz-whatever
  20.  
  21. #create patch
  22. svn diff -r 100:200 > diff_100_200.patch
Advertisement
Add Comment
Please, Sign In to add comment