I need to perform some operation if a target file is changed in the SVN repo. How can I test it?
More specifically, I have a local version of a doc.tex
file from which I generate a doc.pdf
file that is not on the server. If my local version of doc.tex
file is outdated I want to copy the doc.pdf
file to doc-old.pdf
, than update the doc.tex
, generate the new doc.pdf
file and, finally, compare the two pdfs.
The only step I miss is the checking for updates of the doc.tex
file on server.
log
anddiff
http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.diff.html – GAD3R Jun 29 '17 at 10:40