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

  • SEARCH
  • Home
  • 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 357895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:14:55+00:00 2026-05-12T12:14:55+00:00

I have a little private Google code project. For a SCM I use Mercurial.

  • 0

I have a little private Google code project. For a SCM I use Mercurial. And for the local build i would like to use nant.

So basically:

  1. I would like to download my source files from a known mercurial repository using a nant task
  2. I would like to somehow get the revision number of the repository so that I can assemble a nice little assembly version number

The build script will not be used for continuous integration but only for nightly builds and production builds.

Thanks for the help

  • 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-05-12T12:14:55+00:00Added an answer on May 12, 2026 at 12:14 pm

    I don’t know nant, but in (real) ant, we just use the <exec> task to invoke the hg binary. Depending clean you’d like to start you can clone or just pull and executing hg id -i gets you the revision number cleanly. Another thing to consider is using the archive links on the remote web interface (essentially the hg archive command via HTTP) and just use wget (not the equivalent nant task) to pull down the tip archive, which has an easy consistent link, and then you can get the revision id from inside the archive’s hg_archival.txt file.

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

Sidebar

Related Questions

I have this little piece of code : private Dictionary<string, IList<KeyValuePair<int, string>>> EnumsCollection =
Case One Say you have a little class: class Point3D { private: float x,y,z;
I have little doubt about string reading in C. string reading functions like gets,
i have little dilemma, i often use data-bound controls such as Gridview in conjunction
i have a little weird task. The following (stripped) code is given (but i
Evening :) I have a little problem... As you can see in my code
I got a little problem with the OAuth for Google, I use the Jim
I have this little function to filter my array by keys: private function filterMyArray(
I have a little issue with Android SQL queries. Here is the my code
I'm working on project with listview,but I have a little problem. I'm using SimpleAdapter

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.