On 2019-02-19 20:37:01 +0000, Scott Bloom wrote: > Thanks.. That is exactly what Im looking for!
Even if this is implemented, there's an issue with all these keywords with path/URL information in them: the expanded path is the one of the revision that last changed the file, not the current one! For instance, if the file is in a directory that has been renamed and the file hasn't changed since, then the expanded path will become obsolete (mentioning the old directory name). For instance, after a "svn mv dir newdir" and commit: $ cat newdir/file $PathRev: dir/file, r2 $ $ svn pl -v newdir/file Properties on 'newdir/file': svn:keywords PathRev=%P,%_r%r $ svn info newdir/file Path: newdir/file Name: file Working Copy Root Path: /home/vlefevre/tmp/svntest/wc URL: file:///home/vlefevre/tmp/svntest/foo/newdir/file Relative URL: ^/newdir/file Repository Root: file:///home/vlefevre/tmp/svntest/foo Repository UUID: c461bb2a-7775-4e63-8d8c-e8e280081214 Revision: 3 Node Kind: file Schedule: normal Last Changed Author: vlefevre Last Changed Rev: 2 [...] BTW, the documentation in http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.keywords.html is incorrect: %P The file's path, relative to the repository root. should be %P The file's path of the revision given by %r, relative to the repository root. AFAIK, "of the revision given by %r" applies to all format codes. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)