本文介绍了CCRC CLI lsactivity命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了。我试图使用 rcleartool 命令获取活动列表,但找不到 lsactivity 命令。

是否有任何等效命令或任何间接方式来实现此目标M

I have installed CCRC 7.1.1 with CLI. I was trying to get the list of activities using rcleartool command bit I could not find lsactivity command.
Is there any equivalent command or any indirect way to achieve this targetM

也没有 -fmt rcleartool desc 命令的选项?

在UCM中这是一个非常有用的选项,但在CCRC中找不到。请帮助我在CCRC中使用等效命令。

Also there is no -fmt option for "rcleartool desc" command?
This was a very useful option in UCM but could not find in CCRC. Please help me with equivalent command in CCRC.

谢谢,
Raghav

Thanks,Raghav

推荐答案

rcleartool支持的命令。

他们不包括 lact

The commands supported by rcleartool are listed here.
They don't include lsact.

可能的解决方法(不经过测试)将使用 describe -fmt 。 (请参见和)

A potential workaround (not tested) would be to use describe -fmt. (see fmt_ccase, and the describe command)

rcleatool descr -fmt "%[activities]CXp" aStream@\aPVob

()

这应该列出给定流的所有活动。

我怀疑它是否可以工作,因为即使 -fmt 似乎受支持(因为不支持)。 ...

That should list all activities for a given stream.
I doubt however it can work, because, even though -fmt seems supported (because not listed in the limitations)...


  • 不支持版本扩展的路径名

  • 不支持UCM对象选择器

  • 不支持以下Base ClearCase对象选择器:触发器类型,池,hlink类型,oid-obj

如果对于CCRC 7.1.1是正确的,那么目前尚无解决方法。

If that is true for CCRC 7.1.1, then there is no workaround for now.

实际上:


  • 报告说, -fmt 本身不受支持(因为他最初在问题中表示的是2012年。它在2019年得到支持。

  • The OP Raghava Reddy reports that -fmt itself isn't supported (as he indicated originally in his question) in 2012. It is supported in 2019.

    rcleartool desc command  
    CRCLI1022E Unrecognised option: "-fmt". 
    Usage: desc/ribe [-username user-name][-ser/ver server-url][-pas/sword user-password] 
                     [-l/ong | -s/hort] [-ala/bel {label-type-selector[,...] | -all}]
                     [-aat/tr {attr-type-selector[,...] | -all}] 
                     [-ahl/ink {hlink-type-selector[,...] | -all}] 
                     { [-cvi/ew] [-pre/decessor] pname ... | 
                       -type type-selector ... | -cact | object_selector ...}




  • 仅提及GUI,没有CLI替代方案:


    • 单击 UCM活动图标 ClearCase导航器中UCM ClearCase视图的我的活动项,

    • 或双击我的活动 ClearCase详细信息视图中的项目。

    ClearCase UCM活动视图打开,并显示流中的活动列表。

    The ClearCase UCM Activities view opens and displays a list of your activities in the stream.

    这篇关于CCRC CLI lsactivity命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 00:37