[Asterisk-Dev] CVS
Jac Kersing
j.kersing at the-box.com
Sun Oct 5 02:24:09 MST 2003
Adding the CVS information as a static string in the C sources adds the
information to the binaries and allows for easy checking which file
revisions were used when creating that binary.
Just add something like:
static char *ident = "$Id$";
Very usefull when you compile and test on one system and move the binaries
to another for production use.
Regards,
Jac
On Sun, 5 Oct 2003, Thorsten Lockert wrote:
> Date: Sun, 5 Oct 2003 00:15:48 -0400
> From: Thorsten Lockert <tholo at sigmasoft.com>
> Reply-To: asterisk-dev at lists.digium.com
> To: asterisk-dev at lists.digium.com
> Subject: RE: [Asterisk-Dev] CVS
>
> Uh. That's what "cvs status" is for...
>
> Thorsten
>
> -----Original Message-----
> From: asterisk-dev-admin at lists.digium.com
> [mailto:asterisk-dev-admin at lists.digium.com] On Behalf Of Mark Evans
> Sent: Sunday, October 05, 2003 0:10
> To: asterisk-dev at lists.digium.com
> Subject: [Asterisk-Dev] CVS
>
> Hi All
>
> Not sure if this has been mentioned before but can the version number be
> added to the top of each file in CVS so that if I checkout a snapshot
> and forget when I did it I have an easy way of finding out the version
> of a file?
>
> This can be done automatically so hopefully others will agree :)
>
> Regards
>
> Mark
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
--
Jac Kersing Technical Consultant The-Box Development
j.kersing at the-box.com http://www.the-box.com
More information about the asterisk-dev
mailing list