Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8987917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:54:18+00:00 2026-06-15T21:54:18+00:00

Our TeamCity builds a complete installer package that includes several web applications, console applications

  • 0

Our TeamCity builds a complete installer package that includes several web applications, console applications and win forms applications. It constitutes an application suite. Each of these applications has it’s own Mercurial repository.

What we’d like to be able to do is automatically supply release notes for each version. TeamCity already displays Mercurial commit messages in web interface when one hovers over changes for a build. Is it possible to somehow capture those messages during a build and extract them to a text file in agent work folder?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:54:20+00:00Added an answer on June 15, 2026 at 9:54 pm

    I don’t know TeamCity, but I have a simple method of taking the commits of a bit of software and formatting it into a neat history log, which I guess is what you’re after. Perhaps you can take this and modify it to suit your needs – it uses only mercurial commands, so you could add it as a dependency of your build (I have a post-build step of my VC++ project which runs the command and outputs to a text file).

    I have a simple template like so:

    $ cat history.template
    changeset = '{tags} {rev}\t{desc|fill68|strip|tabindent}\n'
    start_tags = '\n'
    tag = '{tag},'
    last_tag = '{tag} : {node|short} @ {date|shortdate}\n'
    

    And when I use the following hg command to create a usable history log:

    hg log --style history.template -r "reverse(::.) & !desc('Added tag')"
    

    The command takes commit comments of all ancestors of the working directory, outputting a tag and changeset hash, along with the date the tag was created, and then all associated changes. Here’s an example hg log -G output of a test repo, showing the default and release branches:

    @  21[tip]:18   c676cfe95284   2012-12-12 10:12 +0000   rob
    |    Added tag 0.0.5 for changeset d0869f1c84ba
    |
    | o  20   7618cafcfc5d   2012-11-26 17:23 +0000   rob
    | |    More changes indeed
    | |
    | o  19:17   ffc8bef85a2e   2012-11-26 17:22 +0000   rob
    | |    Some additional files were needed
    | |
    o |  18[0.0.5]:15,17   d0869f1c84ba   2012-11-22 17:25 +0000   rob
    |\|    Releasing
    | |
    | o  17   a41d817184ea   2012-11-22 17:25 +0000   rob
    | |    Made the last change
    | |
    | o  16:13   e790e9022e70   2012-11-22 17:24 +0000   rob
    | |    Made some changes using "record"
    | |
    o |  15   15f21a6f554a   2012-11-13 17:03 +0000   rob
    | |    Added tag 0.0.4 for changeset c316b232c95c
    | |
    o |  14[0.0.4]:10,13   c316b232c95c   2012-11-13 17:03 +0000   rob
    |\|    Merging, eh?
    | |
    | o  13   ba00c7045a23   2012-11-13 17:02 +0000   rob
    | |    Modified revset selection for logging
    ...
    

    The template and command shown outputs the following:

    0.0.5 : d0869f1c84ba @ 2012-11-22
     18     Releasing
     17     Made the last change
     16     Made some changes using "record"
    
    0.0.4 : c316b232c95c @ 2012-11-13
     14     Merging, eh?
     13     Modified revset selection for logging
     12     When logging history select only ancestors of the working directory
     11     Added history logging
    ...
    

    Add a comment if you would like some explanation of the command-line or template.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In our application, there are a bunch of unit test console applications that have
I'm using TeamCity to do automated builds of test and production. TeamCity runs our
We are using Teamcity to do continuous integration builds for our website and have
We got a TeamCity server which produces nightly deployable builds. We want our beta
In our web-application we manage our continuous integration using TeamCity. So far we have
We use teamcity to deploy several of our projects. I'm attempting to setup the
I am trying to set up a Teamcity build configuration that runs from our
My team uses Team City to do continuous builds and deployment of our Web
My team builds a .NET based software and several other components. Currently using TeamCity
On our continous integration server (Teamcity 5.1.3) we have a msbuild script that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.