[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn status proposal

From: Branko Èibej <brane_at_xbc.nu>
Date: 2001-09-16 04:01:26 CEST

Ben Collins-Sussman wrote:

>I don't feel like this is such a bikeshed discussion anymore; people
>seem to be very worried about choosing bad UI defaults... they really
>want Subversion to get it Right, based on past annoying experiences
>with CVS's UI.
>

This might be a good time to fix some other weirdos in "svn status":

(1) $ 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
(2) $ svn status dodo

svn_error: #21026 : <Can't find an entry>
  svn_client_status: 'dodo' is not a versioned resource
(3) $ touch dodo
(4) $ svn status dodo

svn_error: #21010 : <Bogus filename>
  svn_wc_statuses: bogus path `dodo'
(5) $ mv install.sh moved-install.sh
(6) $ svn status install.sh
(7) $ svn status
_ 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

(2): O.K., I agree with that. "dodo" doen't exist, and the error message
is appropriate.

(4): Should print "? dodo". Or at the very least, should print the same
error message as (2). Calling a path bogus is cheeky, but not very helpful.

(6, 7) Eh? A working copy of a versioned file goes away, and "status"
doesn't report it missing? Doubleplusuncool. Should print "X
 install.sh", in bright red.

-- 
Brane �ibej   <brane_at_xbc.nu>            http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:41 2006

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.