Here's a one liner to update svn with your local changes.
svn st |awk '/\?/{print "svn add " $2};/\!/{print "svn del " $2}' | sh
Sure there are problems with it... like if the filename has ? or ! in it, then it'll do the wrong thing, but it works for me, so I thought I'd share :)
No comments:
Post a Comment