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

Re: Why can't one checkout a single file?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-11 21:41:12 CEST

On Wed, 2004-08-11 at 14:35, Per Winkvist wrote:
> Hi,
>
> If I have 50 hugh files in a dir and I wanna update a single file, why
> can't I just "svn co url://....file.txt", edit it, and then commit?

Where would the .svn/ metadata go? It turns into a thorny design
problem.

When people want to see a single file, the standard recommendation is
'svn cat URL-to-file'.

>
> Doing this today creates a dir called file.txt which must be way wrong?

You must be using a very old svn:

$ svn co http://localhost/svn/goo/trunk/elisp/malyon.el
subversion/libsvn_client/checkout.c:99: (apr_err=200007)
svn: URL 'http://localhost/svn/goo/trunk/elisp/malyon.el' refers to a file, not a directory

$ ls malyon.el
ls: malyon.el: No such file or directory

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 11 21:42:11 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.