New to Google Cloud? Get $300 in free credit to explore Compute Engine, BigQuery, Cloud Run, Vertex AI, and 150+ other products.
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query exabytes in BigQuery, or build AI apps with Vertex AI and Gemini. Once your credits are used, keep building with 20+ products with free monthly usage, including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. Sign up to start building right away.
Start Free Trial
Cut Data Warehouse Costs up to 54% with BigQuery
Migrate from Snowflake, Databricks, or Redshift with free migration tools. Exabyte scale without the Exabyte price.
BigQuery delivers up to 54% lower TCO than cloud alternatives. Migrate from legacy or competing warehouses using free BigQuery Migration Service with automated SQL translation. Get serverless scale with no infrastructure to manage, compressed storage, and flexible pricing—pay per query or commit for deeper discounts. New customers get $300 in free credit.
...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"
The Network-Oriented Document Abstraction Language (NODAL)
is a set of standards and protocols for ubiquitous collaboration supported by
an open source sample implementation.