SVN->GIT link broken?

Derek Atkins derek at
Tue Mar 26 15:18:34 EDT 2013

On Tue, March 26, 2013 2:24 pm, John Ralls wrote:

> It's perhaps a bit more involved than what you need because it has to
> decide which repo to update. You also might prefer to get emails than to
> use syslog.

Okay, I've added a lock so it should handle the case of back-to-back
commits.  I still need to handle a github failure.  Here's the current



# Only run this if we've been tickled
if [ ! -f $trigger ] ; then
  exit 0
rm -f $trigger

# We've been tickled.  Wait until we've acquired the lock.
  flock 9

  # Iterate over each repo and sync to gitolite
  #echo "cd $HOME"
  cd $HOME
  for repo in gnucash gnucash-docs gnucash-htdocs ; do
    ./git-svn-mirror update git-svn/$repo

  # Todo -- if the push to github failed we should re-touch the trigger
) 9>$lockfile

> Regards,
> John Ralls


       Derek Atkins                 617-623-3745
       derek at   
       Computer and Internet Security Consultant

More information about the gnucash-devel mailing list