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

Re: Should all sub-commands accept a peg-revision?

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-11-02 16:51:44 CET

Greg Hudson wrote:
> Usage: svn cat [-r N] TARGET[@REV]
>
> Displays the contents of TARGET as of revision N. If specified,
> REV controls where the target is looked up. If N is not
> specified, it defaults to REV if given, or to HEAD for URLs or the
> current working copy version for working copy paths.
>
> ... which raises another little side issue: right now "svn cat wcpath"
> seems to display the base text of wcpath, not the current text. This is
> inconsistent with our other commands. (Yeah, I know, it's anybody's
> guess why you'd want to use "svn cat" instead of just "cat" or "type"
> for that, but that's no excuse for second-guessing.)

You could raise this as a separate issue. It's closely related to the fact
that "svn cat" doesn't know how to display a local file - issue #1191 and issue
#1361.

But, then, does Josh's patch describe the behaviour of svn_client_cat correctly?

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 2 16:52:36 2004

This is an archived mail posted to the Subversion Dev mailing list.