Tag Archives: svn

Ignore whitespace in a Subversion diff

$ svn diff –diff-cmd diff -x -uw /path/to/file Solution copied from Ignore whitespace in a Subversion diff

Posted in subversion | Tagged , , | Leave a comment

Find a string in files under Subversion

As a programmer, I’ve been using find to locate string in my source code.  Issuing a find would include svn files too which is not my intension.  Here’s the command: $ find . -not -regex ‘.*svn.*’ -exec grep “$1″ ‘{}’ … Continue reading

Posted in subversion | Tagged , , | Leave a comment

How to remove .svn folder

Windows: Save the following to the folder to clean to a filename with a .cmd extension (cleansvn.cmd).  After that issue the command, eg., C:\www>cleansvn for /f “tokens=* delims=” %%i in (‘dir /s /b /a:d *svn’) do ( rd /s /q … Continue reading

Posted in Freelancing, Linux, Programming | Tagged | Leave a comment