Can SVN display information related to partial validation?

If a working copy of Subversion is a partial extract from the repository using --depthand / or --set-depth(possibly c exclude), is there a way to show nodes that are "missing" (either recursively or non-recursively)? I do not mean the absence in the sense of svn statusand !where the node was deleted, but deleted locally without telling SVN. Rather, I mean the node in the repository that was not previously retrieved from the repository or was excluded later.

svn info can be used to display the depth of a node.

lsor dircan be compared with svn ls. ( ls -r BASEnot bahave, as I expected to get a list of working copies.)

svnversion will indicate that WC is partial with 'P'.

(There seems to be no option --dry-runto use in conjunction with --set-depthfor svn update. Similarly, it svn diff -rBASE:HEAD --depth=immediatesdoes not create the information I'm looking for.)

Is there any direct method? It would be nice to have a list of nodes available for verification for verification or updating.

Thank.

+3
source share
3 answers
svn ls --depth immediates .

will show the child files and folders of the current folder, even if they were not extracted.

The difference is that with the ls -1output a list of files and folders that have not been checked is displayed:

svn ls --depth immediates . > immediates.txt
ls -1 > checkedout.txt
diff immediates.txt checkedout.txt
+4
source

I may not understand, but

svn update 

has the -set-depth option, so you can change your existing working copy to a new level.

0
source

,

ROOT
  |--trunk
  |   |-- index.php
  |   `-- app
  |--tags
  `--branches

, ( ) ROOT node.

svn ls --depth immediates URL/to/ROOT/

:

trunk/
tags/
branches/

, node

svn update --set-depth=infinity trunk/
0

Source: https://habr.com/ru/post/1777662/


All Articles