> 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