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 5988033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:54:05+00:00 2026-05-22T22:54:05+00:00

we are using mercurial as source control in one of our projects. We are

  • 0

we are using mercurial as source control in one of our projects. We are trying to setup continuous integration for this project using cruise control .net.

while doing this we setup the source control as

<sourcecontrol type="hg">
    <repo>path of repository</repo>
    <workingDirectory>
      working directory path
    </workingDirectory>        
  </sourcecontrol>

But when i try to build i got an error like this

Error Message:  ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: abort: http authorization required
. Process command: hg pull --noninteractive repository path
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Mercurial.Mercurial.GetModifications(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)

I think the error is happened because i am not giving the username and password in the source control block. But i don’t know how to give the authorization credentials, Please can anyone help me on this.

  • 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-22T22:54:06+00:00Added an answer on May 22, 2026 at 10:54 pm

    One option is o put the username and password in the URL — this isn’t a Mercurial thing it’s a part of HTTP URLs in general. Here’s an example:

    http://username:password@hostname/path/to/repo
    

    Other options include using an [auth] section in the cruise control user’s ~/.hgrc file, but putting it in the URL is probably easiest (though not terribly secure).

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

Sidebar

Related Questions

We are using cruise control .net with mercurial version control for continuous integration. I
I'm researching using Mercurial for our companies source control system. One immediate requirement that
We're using Mercurial where I work and I want to have a setup similar
I am trying to understand if I really have any case for using git/mercurial.
For a new Java web project I thought about using: Eclipse as IDE Mercurial
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
I'm developing a project in .NET (using C# to be more specific). Using Visual
Our project switched over from SVN to Mercurial recently. In SVN, to version our
using CodeIgniter normally one has to specify the controllers in the config/routes.php file. This
When using Mercurial I sometimes find that it is hard to understand the relationship

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.