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

Re: [PATCH] svn cat

From: Noel Yap <yap_noel_at_yahoo.com>
Date: 2002-11-13 13:46:16 CET

--- Vladimir Prus <ghost@cs.msu.su> wrote:
>
> The following patch works quite OK for me. There are
> two problems:
> 1. I did not written any tests, and don't have the
> time right now.
> Maybe later. (BTW, I don't see any tests of "ls")
>
> 2. If I do
>
> svn cat some-file
>
> then *repository* version of that file is printed.
> Printing wc version
> seems doable in a couple of lines, but I don't know
> which behaviour is
> best.

I think it makes sense for "svn cat file" to behave
like "svn cat -r BASE file" rather than "svn cat -r
HEAD file". Such behaviour makes even more sense if
blame were implemented through "svn cat -v". Doing so
would also make the command more consistent with other
commands like "svn diff".

As an aside, the last time I looked "cvs ann" would
annotate the latest on mainline. Even if it's not
considered a bug, it's at least inconsistent with
other commands such as "cvs diff".

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 Wed Nov 13 13:47:08 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.