X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fsvnapply.sh;h=32ce85aa2375cd8e4b7565264cb64b64b0512db8;hb=3b7dede4665905a531d84628099ed1f9714a512e;hp=040675ce3b6d4900bf5d1bee0340492180aeb572;hpb=f933310663ddc4569a66e355536c5422e8aa1f20;p=feisty_meow.git diff --git a/scripts/rev_control/svnapply.sh b/scripts/rev_control/svnapply.sh index 040675ce..32ce85aa 100644 --- a/scripts/rev_control/svnapply.sh +++ b/scripts/rev_control/svnapply.sh @@ -1,14 +1,18 @@ #!/bin/bash # -# Applies arbitrary commands to any svn status. e.g. +# Applies arbitrary commands to any svn status. # -# Delete all non-svn files (escape the ? from the shell): -# svnapply \? rm +# For example, this shows any files that are in the working folder but are not part of the svn repository: +# svnapply \? echo +# +# This deletes all files that are not checked into svn (escape the ? from the shell): +# svnapply \? rm # # List all conflicted files: -# svnapply C ls -l +# svnapply C ls -l # -# found on web at: http://stackoverflow.com/questions/160104/how-do-you-add-all-untracked-files-in-svn-something-like-git-add-i +# found on web at: +# http://stackoverflow.com/questions/160104/how-do-you-add-all-untracked-files-in-svn-something-like-git-add-i # PATTERN="$1"; shift