Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Beware: ClearCase is File-centric, not repository centric (like SVN or CVS).</p> <p>That means it is rarely a good solution to checkout all files (and it can be fairly long with ClearCase ;) )</p> <p>That being said, the question is perfectly legitimate and I would like to point out another way:</p> <p>open a <code>cleartool</code> session in the 'specified folder':</p> <pre><code>c:\MyFolder&gt; cleartool cleartool&gt; co -c "Reason for massive checkout" .../* </code></pre> <p>does the trick too. But as the aku's answer, it does checkout <em>everything</em>: files and directories... and you may most <em>not need</em> to checkout directories! </p> <pre><code>cleartool find somedir -type f -exec "cleartool checkout -c \"Reason for massive checkout\" \"%CLEARCASE_PN%\"" </code></pre> <p>would only checkout files...</p> <p>Now the problem is to checkin everything that has changed. It is problematic since often <em>not everything</em> has changed, and CleaCase will trigger an error message when trying to check in an identical file. Meaning you will need 2 commands:</p> <pre><code>ct lsco -r -cvi -fmt "ci -nc \"%n\"\n" | ct ct lsco -r -cvi -fmt "unco -rm %n\n" | ct </code></pre> <p>(with '<code>ct</code> being '<code>cleartool</code>' : type '<code>doskey ct=cleartool $*</code>' on Windows to set that alias)</p> <p>Note that <code>ct ci -nc</code> will check-in with the comment used for the checkout stage.<br> So it is <em>not</em> a checkin without a comment (like the <code>-nc</code> option -- or "no comment" -- could make believe).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload