bzr version-info for C/C++

Lukáš Lalinský lalinsky at gmail.com
Thu Oct 4 16:54:45 BST 2007


On 10/4/07, Panagiotis Papadakos <papadako at csd.uoc.gr> wrote:
> Hello everybody!
>
> Thanks for bzr! I've been using it for over a year and it just rocks!
>
> Well, it seems that I have a little problem. I would like to get
> information about my project branch (revision and date) and it seems that
> version-info does not support C/C++. Anybody has ever overcome this
> problem?

Here is a simple plugin that exports the basic info as preprocessor
macros. I haven't implemented --include-history and
--include-file-revisions, because I'm not sure what would be the best
structure for it. If somebody has an idea, I can add it and make a
patch against bzr from it.

Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: version_info_format_c.py
Type: text/x-python
Size: 2572 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071004/a705b377/attachment.py 


More information about the bazaar mailing list