title: How to programatically get the latest commit date on a CVS checkout
body: <p>For a script I'm working on to implement bisection using CVS, I want to figure out what the 'timestamp' is of the current checkout.  In other words, if I'm on a branch/tag, I want to know the last timestamp something got commited to that branch/tag.  If I'm on head, I want to know the last timestamp on head.</p>
  
  <p>I know this is not 100% guaranteed, since cvs checkouts can have different files at different timestamps/revisions/..., but a correct-in-most-cases solution is fine by me.</p>
  
  <p>Naively, I thought that</p>
  
  <pre><code>cvs log -N | grep ^date: | sort | tail -n 1 | cut -d\; -f1
  </code></pre>
  
  <p>was going to do it, but it turns out it goes through the whole commit history, for all branches/tags.</p>