PHPDocumentor/CVS question

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

PHPDocumentor/CVS question

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Post Reply