Recent Changes - Search:

VCS-Home



Note: Due to heavy spamming, the edit password is: VCS-Home.

KenBloomRecursiveCommits

This script relies heavily on the assumption that the only things I check out are ordinary directories in $HOME (plus a couple of specified dot-directories). You can also stick non-versioned directories in $HOME too, and the script will just print an error message and move on to the next one.

These days I use mr instead of this script.

#!/bin/sh

cd $HOME

if [ "$1" = commit ]; then
#Fill this part in from DotFileConflicts according to your own dotfiles.
fi

echo =======
echo '* '~
svn $* 
for x in * .gnome-pieces .hide .kde; do
   if [ -e "$x" ] ; then
      echo =======
      echo "* $x"
      #if it's not a directory, then don't try to run the command on
      #because you're still in $HOME
      cd "$x" && svn $* 
      cd $HOME
   fi
done

Edit - History - Print - Recent Changes - Search
Page last modified on November 03, 2007, at 07:59 PM