Allows to generate source code for your project's VCS (Version Control System) status.
Include this tool into your pre-build step to hardcode version strings.

vcsinfo.exe - 64-bit build.
vcsinfo32.exe - 32-bit build.

Currently supported:
Inputs: Mercurial (hg)
Outputs: C, C++

Planned: SVN, Git; Java

USAGE EXAMPLES:
Generate C header file for Mercurial repository using pipes.
hg summary | vcsinfo > version.h

Generate C++ header file for Mercurial repository in v1.x compatibility mode.
hg summary | vcsinfo --cpp --compat version.h

Generate Java class for Git repository treating new files as modification.
git status | vcsinfo --git --java --package com.test --newismod > version.java

SAMPLE OUTPUT:
// Version Information
// Generated by the VCS Information Tool v2.0 (c)

#define MERCURIAL_REVISION 23u
#define MERCURIAL_MODIFIED 1
#define MERCURIAL_HASH "6c784b7035ea"
#define MERCURIAL_BRANCH "default"

Project Activity

See All Activity >

License

MIT License

Follow vcsinfo

vcsinfo Web Site

Other Useful Business Software
Solve Your Real-world Business Challenges From A Single Timesheet With Powerful Built In Integration Icon
Solve Your Real-world Business Challenges From A Single Timesheet With Powerful Built In Integration

Timecontrol Is Your Multipurpose Timesheet Software

TimeControl is a multi-purpose timesheet system designed to serve both Finance and Project Management. TimeControl has been designed to serve many purposes simultaneously. TimeControl tracks time on a task-by-task, project-by-project basis. Yet, despite its project-based controls, it remains a financial timesheet with all the controls necessary to fulfill the stringent needs of payroll, human resources, billing and finance. TimeControl is available both for subscription in the cloud or for purchase for an on premise installation and includes both a browser interface and the free TimeControl Mobile App for iOS and Android devices.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of vcsinfo!

Additional Project Details

Operating Systems

Linux, Windows

Languages

English

Intended Audience

Advanced End Users, Developers

User Interface

Command-line

Programming Language

C++

Related Categories

C++ Version Control Software, C++ Code Generators

Registered

2019-08-28