Page 1 of 1

PHPDocumentor/CVS question

Posted: Sat Sep 23, 2006 10:04 pm
by neophyte
I'm looking at the Pear docs and I see this:

Code: Select all

@version    CVS: $Id:$
@version I understand but what is the CVS thingey? How does it work? I've used CVS before, but I'm not an expert.

Posted: Sun Sep 24, 2006 8:24 am
by feyd
It's called keyword expansion (at least that's what it's always been called when I was reading about it). CVS and other similar version control systems (when enabled) look for certain keywords inside a $<word>$ construct.

In this particular case "Id," which often expands to include the path, user who did the commit and version information.