clearcase - Whats the easiest way to completely remove a directory element & all its sub-contents from VOB? -


what know is, using rmelem remove folder first, , cause of child elements moved lost+found.

then, go lost+found, , repeatedly execute rmelem * until of elements removed.

is there better way?

the technote lost+found quite clear:

if rmelem directory, content indeed moved lost+found, has lost+found. technote adds:

note: if directory element deleted lost+found rmelem, contents moved lost+found in same manner described in first section above.

that why try rmelem files first, directories, in order avoid trip (or several trips) in lost+found.

except rmelem anything, same technote warns:

use rmelem when deleting elements or symbolic links lost+found directory.
while content of lost+found typically consists of unwanted elements , symbolic links, in circumstances can contain elements cataloged elsewhere in vob (that is, not orphaned) associated symbolic or hard links.
reason, not run rmelem recursively in lost+found without first verifying contents.

if need save element in lost+found, catalog in versioned directory using mv explained in previous section

actually, clearcase ucm, impossible rmelem element history, because of hyperlink compromised (related baselines mainly).


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -