Tom Penney wrote: > > I'm not sure I have the details right but you have a checkout of the > svn repository someplace, then using rsync to push appropriate files > from the master checkout into place on each server. > > Close. I have a script that does an svn export to a temp directory, then builds the appropriate server trees, then rsyncs the files out to the servers. > Before you start the the process you have a checkout someplace which > contains the last files you pushed to the servers. The files in svn > may or may not but different from these. So run a diff between the > files in your master checkout and the files on the servers. If > different, then the file could be current with what is in svn, or it > could have been modified without commit. keep those different files in > a list someplace. Now update your master checkout so it is current > files you want to push and run the diff again for the files in your > list. If still different than its probably a modified without commit > file - send your notice. > Yes, if I always do the checkout from the same machine then this will work. At this point using unison will solve the problem. I'm trying to come up with a solution where you won't necessarily always push from the same system, although it's sounding like that's what I'll need to do. > there's a chance this could not work if the file was updated several > times since the last push and a the server contains version that was > committed sometime between the last push and the current version. > > - or - > you could pull the files directly from svn to the servers and skip rsync. > > Yeah, but then I'd have .svn directories all over my filesystem and need to have a lot of svn:ignores properties. -- Jon Schewe | http://mtu.net/~jpschewe If you see an attachment named signature.asc, this is my digital signature. See http://www.gnupg.org for more information. For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39