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

Re: svn up -p

From: Noel Yap <yap_noel_at_yahoo.com>
Date: 2002-11-07 12:39:45 CET

--- Greg Stein <gstein@lyra.org> wrote:
> On Wed, Nov 06, 2002 at 07:33:58AM -0600, Ben
> Collins-Sussman wrote:
> > 'cat' seems to imply both a fetch and a print to
> stdout, I like that a
> > lot. It goes nicely with 'svn ls'. If we went
> this route, 'svn ls'
> > and 'svn cat' would be partners in crime: they
> both dump information
> > to the screen, both take a revision arg, and both
> operate on either
> > wc-paths or urls. There's a nice consistency
> there.
>
> Why partners? Why not the same command? One prints
> out directories, one
> prints out files.

At first I thought, "Blech!"

Then I thought, "Hey, they pretty much do the same
thing. 'cat' doesn't work on directories. 'ls'
doesn't work on files. Why are there even two
commands on Unix?"

Hey, wait a second, 'ls' does work on files 8-} IMO,
it would be bad to combine the two commands. OTOH, I
might be convinced that "svn cat directory" should
behave like "ls directory". And possibly, "svn ls
directory" should behave like "ls -d directory".

MTC,
Noel

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 7 12:40:32 2002

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.