You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ron Bieber <ro...@bieberlabs.com> on 2004/01/18 13:01:45 UTC
Checking out a single file with 0.36 ...
This is the first time I've tried this. I want to edit a single file
in the repository. Rather than check out the full directory that the
file is in, I want to pull down the file, edit it, and commit it. So,
I type the following command:
~/temp> svn co
http://subversion.bieberlabs.org/svn/main/trunk/deploy/deploy.c .
I get the following error:
svn: REPORT request failed on '/svn/main/!svn/vcc/default'
svn:
Attempted to create entry in non-directory parent
Leaving off the final '.' argument in the checkout command actually
creates a directory called deploy.c rather than pulling the file from
the repository into the current directory.
Is this expected behavior?
Thanks,
-- Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Checking out a single file with 0.36 ...
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On Jan 18, 2004, at 8:01 AM, Ron Bieber wrote:
> This is the first time I've tried this. I want to edit a single file
> in the repository. Rather than check out the full directory that the
> file is in, I want to pull down the file, edit it, and commit it. So,
> I type the following command:
>
> ~/temp> svn co
> http://subversion.bieberlabs.org/svn/main/trunk/deploy/deploy.c .
>
> I get the following error:
>
> svn: REPORT request failed on '/svn/main/!svn/vcc/default'
> svn:
> Attempted to create entry in non-directory parent
>
>
> Leaving off the final '.' argument in the checkout command actually
> creates a directory called deploy.c rather than pulling the file from
> the repository into the current directory.
>
> Is this expected behavior?
You can't check out a single file, the smallest part of a repository
you can check out is a directory. This is pretty much intrinsic to
much of Subversion's design at the moment, and is the way things are
'supposed' to work. Of course it would be nice if it didn't create
that directory when you leave off the ., and it would be nice if the
error message was less cryptic.
Patches to fix both issues are more than welcome.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org