Issue with 'svn diff' when file name starts with @
From: Tim Van Holder <tim.vanholder_at_anubex.com>
Date: Mon, 29 Oct 2018 16:08:28 +0000
(I tried searching the issue tracker but it was extremely unresponsive; apologies if this is already in there (which seems likely))
Initially encountered on Windows (most recent TortoiseSVN).
The help for svn diff suggests that it supports peg revisions (TARGET[@REV]).
In fact, while most (all?) other svn commands will treat 'foo' and 'foo@' as equivalent file names, svn diff does not; 'svn diff foo@' (when only 'foo' exists) will result in E155010 (the node was not found).
In addition, there is a significant bug in handling of file names starting with @; a diff for them can only be acquired by running 'svn diff' in their directory and using './<filename>'.
Reproduction case: create a new repo containing 2 files: foo/@bar and foo/xy_at_zzy
$ cd /wc
So:
* the normal 'append-_at_-to-avoid-peg-revision' syntax does not work (but in some cases the error message suggests using it)
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.