ClearCase: how to list the attributes attached to a branch
<p>With the following, I can attach an attribute to a branch: </p>

<pre><code>cleartool mkattr islocked \"true\" brtype:MY_BRANCH_NAME
</code></pre>

<p>How can I verify the value of this attribute?</p>

<p>As advised by <a href="https://stackoverflow.com/users/6309/vonc">VonC</a>, I specified the VOB name in my command: </p>

<p>First let ensure the attribute exist and has been registered:</p>

<pre><code>$ ct mkattype -replace -nc -enum \"true\",\"false\" -default \"false\" islocked
Replaced definition of attribute type "islocked".
</code></pre>

<p>-</p>

<pre><code>$ ct mkattr -replace islocked \"true\" brtype:MY_BRANCH_NAME@\\myVOB
Created attribute "islocked" on "MY_BRANCH_NAME".
</code></pre>

<p>Then we can ask for the attribute's value: </p>

<pre><code>$ ct desc -l brtype:MY_BRANCH_NAME@\\myVOB
branch type "MY_BRANCH_NAME"
  created 2016-02-22T13:16:51Z by Nowox
  master replica: cpAdmin@\myVOB
  request for mastership: allowed for branch type
  request for mastership: allowed for all instances
  owner: user
  group: group
  scope: global
  constraint: one version per element
  Hyperlinks:
    GlobalDefinition@78418@\myVOB &lt;- brtype:MY_BRANCH_NAME@\myVOB
</code></pre>

<p>Unfortunately I don't see my attribute...</p>

<p>Same issue with this one:</p>

<pre><code>$ ct desc -l -aattr islocked brtype:MY_BRANCH_NAME@\\myVOB
MY_BRANCH_NAME
</code></pre>