If a Subversion working copy is a partial check-out from a repository, using --depth and/or --set-depth (perhaps with exclude), is there a way to reveal the nodes that are ‘missing’ (either recursively, or non-recursively)? I don’t mean missing in the sense of svn status and ! where a node was checked out but deleted locally without telling SVN. Rather, I mean a node in the repository that was not been checked out from the repository originally, or has been excluded later.
svn info can be used to show the depth of a node.
ls or dir might be compared with svn ls. (ls -r BASE doesn’t bahave as I’d expect to get a working copy listing.)
svnversion will indicate that the WC is partial with a ‘P’.
(There seems to be no --dry-run option to use in conjunction with --set-depth for svn update. Likewise svn diff -rBASE:HEAD --depth=immediates does not produce the information I seek either.)
Is there some direct method? It would be nice to have a list of ‘eligible’ nodes available for checkout or update.
Thanks.
will show the child files and folders of the current folder even if they have not been checked out.
Diffing that with the output of
ls -1yields the list of not-checked-out files/folders: