Trouble with 'svn checkout --non-recursive' stickyness.
From: Robert Mathews <rmathews_at_envoyww.com>
Date: 2005-02-16 15:56:04 CET
Hi:
My problem is that once I've checkout out a directory non-recursively, it can't be updated recursively. That is, the 'non-recursive' flag seems to be sticky for the working copy, and there is no command to clear that stickyness. Also, the behaviour just seems wierd. See below for example.
The following commands show the problem: (assume that //server/code/product/s/ex/trunk is a project with many subdirs and an external)
First, do a non-recursive checkout like this:
svn checkout -N http://server/code/products/ex/trunk .
That gives the top level of the directory, as expected, w/o fetching any svn:externals.
Then, give the same command again, but with/out non-recursive flag.
svn checkout http://server/code/products/ex/trunk .
This leaves the top level of the directory alone, but fetches the svn:externals. That's odd on two levels:
Finally, I tried this: (note, no trailing "." in this command - the target path argument is missing)
svn checkout http://server/code/products/ex/trunk
Hey - this version of the command recursively fetches everything!
I've looked around the issue database, and found issue 695 that seems somewhat related, so maybe I'm just detailing more odd behaviour from that. Anyway, what I would
Rob.
|
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.