Inconsistent behavior in cat command
From: Noorul Islam K M <noorul_at_collab.net>
Date: Thu, 11 Nov 2010 22:34:12 +0530
When I was trying to come up with a patch for issue 3713, I observed the
For example I have two files 1.txt and 2.txt in a repository located at
svn cat behaves differently for local paths and URLs. See the
noorul_at_noorul:/tmp/wc/testrepo$ svn cat 1.txt 2.txt
A) Local non-existent target followed by existing target
noorul_at_noorul:/tmp/wc/testrepo$ svn cat 3.txt 1.txt
B) Non-existent URL followed by existing URL
noorul_at_noorul:/tmp/wc/testrepo$ svn cat ^/3.txt ^/1.txt
svn: File not found: revision 1, path '/3.txt'
In case A, even though the first target was non-existent it performs cat
I am not sure about behavior of other svn commands which accepts
Thanks and Regards
This is an archived mail posted to the Subversion Dev mailing list.