[Zope-CVS] CVS: CVSROOT - postcommit_actions:1.141
Fred L. Drake, Jr.
Tue, 15 Oct 2002 15:04:22 -0400
Ken Manheimer writes:
> Also, applied fix to be deterministic about binary files, according to
> whether the file being checked in has binary-mode keyword expansion
> Since there is no CVS interface command that will directly query the
> repository file for this bit, we read the archive file directly
> looking for the right line (which must be in the first section of the
> file, so it's a short and easy check).
I just screamed "aaarrgh!", and Barry told me that you can use the
"cvs stat" command to get this bit. It'll be in the "Sticky Options"
line, like this:
File: standby.pdf Status: Up-to-date
Working revision: 1.15
Repository revision: 1.15 /cvs-repository/Packages/StandbyStorage/doc/standby.pdf,v
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: -kb
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation