You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ch...@qimonda.com on 2006/08/31 14:18:00 UTC
Please tell me I'm wrong!
svn co svn+ssh://repos/trunk/file
svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a directory
One can NOT check out a single file in Subversion?
--------------------------------------
Chris T Fouts
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Please tell me I'm wrong!
Posted by Johan Appelgren <jo...@gmail.com>.
On 8/31/06, Chris.Fouts@qimonda.com <Ch...@qimonda.com> wrote:
> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a directory
>
> One can NOT check out a single file in Subversion?
>
No, one can not check out a single file.
If you don't need to be able to commit changes to the file you could
export it using "svn cat URL > localefile".
/Johan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Please tell me I'm wrong!
Posted by Patrick Burleson <pb...@gmail.com>.
On 8/31/06, Chris.Fouts@qimonda.com <Ch...@qimonda.com> wrote:
> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a directory
>
> One can NOT check out a single file in Subversion?
>
> --------------------------------------
> Chris T Fouts
This has been discussed several times on the mailing list, you can
search for "Single File" at http://svn.haxx.se/users/.
Short answer: No, you can't check out a single file for changes.
You can however get the contents of a single file:
svn cat svn+ssh://repos/trunk/file > file
But you can't check changes in to it without checking out the whole
parent directory.
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Please tell me I'm wrong!
Posted by Ch...@qimonda.com.
>-----Original Message-----
>From: Duncan Murdoch [mailto:murdoch@stats.uwo.ca]
>Sent: Thursday, August 31, 2006 11:40 AM
>To: Fouts Christopher (QNA RTP PT PREV)
>Cc: users@subversion.tigris.org
>Subject: Re: Please tell me I'm wrong!
>
>On 8/31/2006 10:18 AM, Chris.Fouts@qimonda.com wrote:
>> svn co svn+ssh://repos/trunk/file
>>
>> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a
>> directory
>>
>> One can NOT check out a single file in Subversion?
>
>Right. Files don't have subdirectories, so where would svn
>put the .svn subdir?
>
>Duncan Murdoch
>
>>
>> --------------------------------------
>> Chris T Fouts
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>
It should "create" the directory where the file resides
in, and put the .svn file there! That's what I "expected"
it to do. Like I said, it's been done before by CVS and
Clearcase.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Please tell me I'm wrong!
Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
On 8/31/2006 10:18 AM, Chris.Fouts@qimonda.com wrote:
> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a directory
>
> One can NOT check out a single file in Subversion?
Right. Files don't have subdirectories, so where would svn put the .svn
subdir?
Duncan Murdoch
>
> --------------------------------------
> Chris T Fouts
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Please tell me I'm wrong!
Posted by William Nagel <bi...@stagelogic.com>.
On Aug 31, 2006, at 10:18 AM, <Ch...@qimonda.com> wrote:
> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a
> directory
>
> One can NOT check out a single file in Subversion?
You can't check out a single file, because Subversion needs to check
out working copies with directory-level granularity in order to have
a place to store the metadata necessary for keeping track of the
files in the working copy (the .svn directory).
That said, you can get a single file out of Subversion, just not as a
working copy (i.e. you won't be able to make changes and commit them
back). To do that, all you need to do is run "svn cat".
-Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Please tell me I'm wrong!
Posted by Kevin Greiner <gr...@gmail.com>.
On 8/31/06, M. Rohrmoser <mr...@gmx.de> wrote:
>
> Chris.Fouts@qimonda.com wrote:
> > svn co svn+ssh://repos/trunk/file
> >
> > svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a directory
> >
> > One can NOT check out a single file in Subversion?
>
> No, you're not wrong. But you can get the content of the file via
>
> svn cat svn+ssh://repos/trunk/file
Re: Please tell me I'm wrong!
Posted by "M. Rohrmoser" <mr...@gmx.de>.
Chris.Fouts@qimonda.com wrote:
> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a directory
>
> One can NOT check out a single file in Subversion?
No, you're not wrong. But you can get the content of the file via
svn cat svn+ssh://repos/trunk/file
Greetings,
M
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Please tell me I'm wrong!
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 8/31/06, Chris.Fouts@qimonda.com <Ch...@qimonda.com> wrote:
> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a directory
>
> One can NOT check out a single file in Subversion?
Correct. You can get a file via an export or cat command, but not via
checkout, as a subversion working copy is inherently a directory, not
a file.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Please tell me I'm wrong!
Posted by Peter Werner <l....@vasas.no-ip.org>.
> One can NOT check out a single file in Subversion?
Wellcome to the real world :-)
At least you have --non-recursive, but it won't help you is you have
million files in /trunk.
WP
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Please tell me I'm wrong!
Posted by Mark Phippard <ma...@softlanding.com>.
<Ch...@qimonda.com> wrote on 08/31/2006 10:18:00 AM:
> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a directory
>
> One can NOT check out a single file in Subversion?
That is correct. You cannot checkout a single file, just a folder. You
can use -N so that subfolders are not checked out.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
AW: Please tell me I'm wrong!
Posted by Felix Gilcher <gi...@exozet.com>.
Chris.Fouts@qimonda.com <ma...@qimonda.com> schrieb am Donnerstag, 31. August 2006 16:18:
> svn co svn+ssh://repos/trunk/file
>
> svn: URL 'svn+ssh://repos/trunk/file' refers to a file, not a
> directory
>
> One can NOT check out a single file in Subversion?
No. The smallest unit that can be checked out is a single folder. However, you may export a single file, but you don't get a working copy that way.
(as mentioned in the FAQ: http://subversion.tigris.org/faq.html#single-file-checkout )
>
> --------------------------------------
> Chris T Fouts
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
regards
fg
--
Felix Gilcher
Head of IT Development
Exozet Berlin GmbH
Rotherstraße 20
10245 Berlin
eMail: gilcher@exozet.com
URL: www.exozet.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org