Re: [PHP-PEAR] RCS tags
[email protected] ("Anil Madhavapeddy")
| Newsgroups | php.pear |
|---|---|
| Message-ID | <0bc701c0922c$326378d0$f4e3a8c0@shock> |
Chuck Hagenbuch wrote: > Quoting Colin Viebrock <[email protected]>: > > > What about a standard method? > > > > function _get_rcs_id() { > > return '$Id$'; > > } > > Well, that'd be _getRcsID() by PEAR standards (I think I like _getRevisionId() > a little better), but I don't have any real objections to it... we don't want > to introduce too many things like this, though, and bloat standard packages... > Why not just do: // $Revision$ Seriously - you shouldn't be actually comparing RCS ids from a program; my suggestion was purely for a simple visibility test. I think the only version function that a PEAR package should be obliged to have is an author-defined version, which can encompass a set of changes, and the RCS tag should just stick around in the comments where it can be seen easily. Anil