Description
Consider the following example: $ ll total 26 drwxr-xr-x 8 brane None 4096 Sep 16 03:37 SVN -rw-r--r-- 1 brane None 8994 Sep 6 21:23 berkeley-db.m4 -rwxr-xr-x 1 brane None 448 Aug 31 23:45 get-neon-ver.sh -rwxr-xr-x 1 brane None 2021 Aug 31 23:45 gnu-diff.sh -rwxr-xr-x 1 brane None 1113 Aug 31 23:45 gnu-patch.sh -rwxr-xr-x 1 brane None 2631 Aug 31 23:45 install.sh -rw-r--r-- 1 brane None 3929 Sep 6 22:09 svn-apache.m4 -rw-r--r-- 1 brane None 625 Aug 31 23:45 svn-macros.m4 $ svn status dodo ## (1) svn_error: #21026 : <Can't find an entry> svn_client_status: 'dodo' is not a versioned resource $ touch dodo $ svn status dodo ## (2) svn_error: #21010 : <Bogus filename> svn_wc_statuses: bogus path `dodo' $ mv install.sh moved-install.sh $ svn status install.sh ## (3) $ svn status ## (4) _ 108 ( 108) . _ 108 ( 108) .\.svnignore _ 108 ( 108) .\berkeley-db.m4 _ 108 ( 108) .\get-neon-ver.sh _ 108 ( 108) .\gnu-diff.sh _ 108 ( 108) .\gnu-patch.sh _ 108 ( 108) .\svn-apache.m4 _ 108 ( 108) .\svn-macros.m4 (1) O.K., the error message is fine. (2) Wrong. Should either print the same message as (1), or print ? dodo to be consistent with update. (3, 4) Definitely wrong. "status" should notice and report that the working file of a versioned resource is missing.
Attachments
Issue Links
- duplicates
-
SVN-492 Audit use of error codes
- Closed