Cleartool lsco -avo -cview equivalent on SVN

2019-07-30 20:46发布

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

Thanks!

标签: svn cleartool
1条回答
smile是对你的礼貌
2楼-- · 2019-07-30 21:38

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'" \;
查看更多
登录 后发表回答