Cleartool lsco -avo -cview equivalent on SVN

2019-07-30 21:20发布

问题:

What is the equivalent command on SVN as cleartool lsco -avo -cview -me?

Thanks!

回答1:

Simply svn status I believe.

cleartool lsco -avo -cview -me

Is for listing all currently checked out files (lsco) in the current view (-cview), by the current user (-me)

If you were to do an svn status in an svn workspace (which is the equivalent of a ClearCase snapshot view), you would get the current modified files as well.
See "svn list of files that are modified in local copy" for other options.
For instance, on Windows:

svn status -u | grep '^M'

(for more on the -u option, see "What svn command would list all the files modified on a branch?")


The OP beyonddc has a more advanced version of that command:

find . -maxdepth 1 -type d -exec bash -c "cd '{}' && svn status | grep '^M'" \;


标签: svn cleartool