【问题标题】:Cleartool lsco -avo -cview equivalent on SVNSVN 上的 Cleartool lsco -avo -cview 等效项
【发布时间】:2012-08-29 20:54:41
【问题描述】:

SVN 上与cleartool lsco -avo -cview -me 等效的命令是什么?

谢谢!

【问题讨论】:

    标签: svn cleartool


    【解决方案1】:

    我相信只需svn status

    cleartool lsco -avo -cview -me
    

    用于列出当前用户 (-me) 在当前视图 (-cview) 中所有当前签出的文件 (lsco)

    如果您要在 svn 工作区(相当于 ClearCase 快照视图)中执行 svn status,您也会得到当前修改的文件。
    其他选项请参见“svn list of files that are modified in local copy”。
    例如,在 Windows 上:

    svn status -u | grep '^M'
    

    (有关-u 选项的更多信息,请参阅“What svn command would list all the files modified on a branch?”)


    OP beyonddc 具有该命令的更高级版本:

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

    【讨论】:

    • 啊……谢谢你的提示。这就是我最终得到的find . -maxdepth 1 -type d -exec bash -c "cd '{}' && svn status | grep '^M'" \;
    猜你喜欢
    • 1970-01-01
    • 2013-05-19
    • 2013-03-25
    • 1970-01-01
    • 2011-04-05
    • 2018-11-26
    • 2012-11-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多