On Apr 13, 2012, at 04:43, Daniel Shahaf wrote: > Ryan Schmidt wrote on Fri, Apr 13, 2012 at 03:55:34 -0500: > >> How can I modify this script to be compatible with a Subversion 1.7 >> format working copy? > > 1.7-specific, relies on implementation details: > `svn info`[Working Copy Root Dir]`/.svn/pristine/`svn info`[SHA-1 checksum]`
Thanks! That was the info I needed. > 1.x-compatible: > use 'svn cat' to obtain a tempfile. That's a good idea. It sounds like this would be less work and automatically backward- and future-compatible. > 1.8: > we might move to compressed pristines. And if we do, we might provide > a "give me a disk path of the uncompressed file that I can pass to my > diff tool" API.