Cleartool lsco -avo -cview equivalent on SVN

不羁的心 提交于 2019-12-11 10:07:58

问题


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'" \;


来源:https://stackoverflow.com/questions/12186353/cleartool-lsco-avo-cview-equivalent-on-svn

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!