title: How do I identify what branches exist in CVS?
body: <p>I have a legacy CVS repository which shall be migrated to Perforce.</p>
  
  <p>For each module, I need to identify what branches exist in that module.</p>
  
  <p>I just want a list of branch names, no tags.
  It must be a command line tool, for scripting reasons.</p>
  
  <p>For example (assuming there is a cvs-list-branches.sh script):</p>
  
  <pre><code>$ ./cvs-list-branches.sh module1
  HEAD
  dev_foobar
  Release_1_2
  Release_1_3
  $
  </code></pre>