[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-11-23 01:21:45 CET

Vladimir Prus <ghost@cs.msu.su> writes:

> Implement the 'cat' command.
>
> * subversion/include/svn_error_codes.h
> (SVN_ERR_CLIENT_IS_DIRECTORY): New error code.
> (SVN_ERR_CLIENT_REVISION_RANGE): New error code.
>
> * subversion/include/svn_client.h
> (svn_client_cat): New function.
>
> * subversion/libsvn_client/cat.c: New file.
>
> * subversion/clients/cmdline/cl.h
> (svn_cl__cat): New command.
>
> * subversion/clients/cmdline/cat-cmd.c: New file
>
> * subversion/clients/cmdline/main.c: Add 'cat' to
> the list of command and document it.

I had a couple of probems:
 - I got some patch rejects due to white-space mismatch
 - It didn't pass the getopt regression tests :)
I fixed those, and tweaked a few things.

Applied in rev 3865. Thanks. If you, or someone else, wants to
implement keyword/eol translation I'd suggest making it optional: add
a --raw flag, add a boolean parameter to svn_client_cat, etc., etc.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 23 01:22:33 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.