loop open tcp-socket to svn-server:commit-notify-port word = read socket if word == "commit" svn update endif endloop