Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function unrevisionedFiles()
- {
- # notice: svn doesnt consider hidden files like main.cpp~
- svn status | grep '^?' | awk '{print $2}';
- }
- function removeunrevisionedFiles()
- {
- unrevisionedFiles | xargs -I % sh -c "echo %; rm -rf %";
- }
- function lineending()
- {
- svn propset svn:eol-style native $1;
- }
- function lineendings()
- {
- find . -type f -exec dos2unix {} \;
- svn propset svn:eol-style native --recursive .;
- #for xml files: svn propset svn:mime-type text/xml --recursive .;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement