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

Re: [Issue 1708] svn export should also export single file

From: Ben Reser <ben_at_reser.org>
Date: 2004-01-21 19:55:55 CET

On Mon, Jan 19, 2004 at 10:42:49PM -0000, kfogel@tigris.org wrote:
> Only in that 'svn cat' doesn't create the file. (Is redirection
> universal enough that one can count on it being available?)
>
> Another way of looking at it is, we'd allow 'svn co FILE' if only we
> had a way to have one isolated file under version control. Of course,
> we *can* do export, since the result doesn't need to be a working
> copy. So I asked solo turn to file it as a Post-1.0 enhancement (or
> feature, can't remember which, but anyway now I've tweaked it to
> enhancement).

I'd also point out that the API actually acts on file handles. So
there's no reason cat can't create a file. Just the current command
line interface doesn't provide that option. We could always add a
command line arg in the future to do that. And other clients that can't
do redirection (e.g. GUIs) can ask for an output file.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 21 19:56:34 2004

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