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

RE: [Issue 1191] New - svn cat (and others?) don't look to working copy for properties

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-03-17 23:09:20 CET

> But currently, 'svn cat localfile' gets the URL for
> localfile, then *contacts the server* and cats that URL from
> The file may not even exist
> in HEAD. The correct revision to use is the local rev... In
> which case, we don't need to contact the server, we can just
> use local text base and prop base to do it.
>
> Does this sound reasonable?

I think both the meaning "cat the local rev" and the meaning "cat HEAD"
are useful, and roughly as common.

However, if 'svn cat foo' means "local rev," it may easily be turned
into that other query with '-r HEAD' (right?). But if it means "HEAD",
then it's rather trickier to turn it into "local rev" (unless there's a
magic keywoard for that, too, that I've missed?). An old rubric advises
"common things should be simple; uncommon things should be possible."
Making it mean "local rev" (by default) seems to create the broadest
possible collection of "common easies." It also makes the default
behavior cheap (non-networked).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 17 23:10:07 2003

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.