You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Julian Foad <ju...@btopenworld.com> on 2003/11/24 00:07:17 UTC
Non-recursive checkout is broken?
After a non-recursive checkout (which gets all of the files but none of the subdirectories) I have not managed to get a subdirectory from the repository into my WC. I tried "svn update subdir" and "svn copy URL subdir" and "svn checkout URL subdir". The test script is attached, and the output, starting from after the checkout, is shown below.
I would expect that "status -vu" would show that the subdirectory would be added by an update, either by marking the parent entry (".") with an asterisk or by showing a status entry for "subdir" with an asterisk.
+ svn list -vR
1 julianfo 6 Nov 15 15:54 file
1 julianfo Nov 15 15:54 subdir/
1 julianfo 6 Nov 15 15:54 subdir/file
+ svn status -vu
1 1 julianfoad .
1 1 julianfoad file
Status against revision: 1
+ svn update subdir
svn: warning: svn_wc_is_wc_root: 'subdir' is not a versioned resource
+ svn copy file:///home/julianfoad/tmp/incomplete-wc/repos/subdir .
/home/julianfoad/src/subversion/subversion/libsvn_wc/lock.c:165: (apr_err=155004)
svn: Attempted to lock an already-locked dir
svn: working copy locked: .
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
+ svn checkout file:///home/julianfoad/tmp/incomplete-wc/repos/subdir
/home/julianfoad/src/subversion/subversion/libsvn_wc/lock.c:600: (apr_err=155005)
svn: Working copy not locked
svn: directory 'subdir' not locked
Each of "copy" and "checkout" creates a directory "subdir" and "subdir/.svn", but does not integrate it into its parent or populate it. The WC is not reported as Locked before or after these attempts.
I am not saying that all three of these methods should be valid ways to get the subdirectory, but I think at least "copy" and/or "update" should be. Perhaps I'm not trying the right way?
- Julian
Re: Non-recursive checkout is broken?
Posted by Philip Martin <ph...@codematters.co.uk>.
Julian Foad <ju...@btopenworld.com> writes:
> Philip Martin wrote:
>> Julian Foad <ju...@btopenworld.com> writes:
>>
>>>After a non-recursive checkout
>> Issue 695.
>
> Issue 695 is '"svn checkout --nonrecursive" should be sticky'.
"svn checkout --nonrecursive" is broken and should be fixed or removed.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Non-recursive checkout is broken?
Posted by Julian Foad <ju...@btopenworld.com>.
Philip Martin wrote:
> Julian Foad <ju...@btopenworld.com> writes:
>
>>After a non-recursive checkout
>
> Issue 695.
Issue 695 is '"svn checkout --nonrecursive" should be sticky'.
My point is the opposite: that "svn checkout --nonrecursive" is so sticky that I can't unstick it and get any subdirectories to appear by any means.
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Non-recursive checkout is broken?
Posted by Philip Martin <ph...@codematters.co.uk>.
Julian Foad <ju...@btopenworld.com> writes:
> After a non-recursive checkout
Issue 695.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org