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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:15:39+00:00 2026-05-10T16:15:39+00:00

I use the on-demand (hosted) version of FogBugz. I would like to start using

  • 0

I use the on-demand (hosted) version of FogBugz. I would like to start using Mercurial for source control. I would like to integrate FogBugz and a BitBucket repository. I gave it a bit of a try but things weren’t going very well.

FogBugz requires that you hook up your Mercurial client to a fogbugz.py python script. TortoiseHg doesn’t seem to have the hgext directory that they refer to in instructions.

So has anyone successfully done something similar?

  • 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. 2026-05-10T16:15:39+00:00Added an answer on May 10, 2026 at 4:15 pm

    From the sounds of it you are wanting to run the hook on your local machine. The hook and directions are intended for use on the central server.

    If you are the only one working in your repository or don’t mind commit not showing up in FB until after you do a pull, then you can add the hook locally to your primary clone, If you are using your primary clone then you need to do something slightly different from what they say here: http://bugs.movabletype.org/help/topics/sourcecontrol/setup/Mercurial.html

    You can put your fogbugz.py anywhere you want, just add a path line to your [fogbugz] section of that repositories hgrc file:

    [fogbugz] path=C:\Program Files\TortoiseHg\scripts\fogbugz.py 

    Just make sure you have python installed. you may also wish to add a commit hook so that local commits to the repository also get into FB.

    [hooks] commit=python:hgext.fogbugz.hook incoming=python:hgext.fogbugz.hook 

    On the Fogbugz install you will want change put the following in your for your logs url:

    ^REPO/log/^R2/^FILE 

    and the following for your diff url:

    ^REPO/diff/^R2/^FILE 

    When the hook script runs it connects to your FB install and sends it a few parameters. These parameters are stored in the DB and used to generate urls for diffs and log informaiton. The script sends the url of repo, this is in your baseurl setting in the [web] section. You want this url to be the url to your bitbucket repository. This will be used to replace ^REPO from the url templates above. The hook script also passes the revision id and the file name to FB. These will replace ^R2 and ^FILE. So in summary this is the stuff you want to add to the hgrc file in your .hg directory:

    [extensions] hgext.fogbugz=  [fogbugz] path=C:\Program Files\TortoiseHg\scripts\fogbugz.py host=https://<YOURACCOUNT>.fogbugz.com/ script=cvsSubmit.asp  [hooks] commit=python:hgext.fogbugz.hook incoming=python:hgext.fogbugz.hook  [web] baseurl=http://www.bitbucket.org/<YOURBITBUCKETACCOUNT>/<YOURPROJECT>/ 

    One thing to remember is that FB may get notified of a checkin before you actually push those changes to bitbucket. If this is the cause do a push and things will work.

    EDIT: added section about the FB server and the summary.

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

Sidebar

Related Questions

I would like to use R to calculate on demand some statistics on a
We use merge replication in one of our programs and I would like to
I have a project in the free hosted FogBugz On Demand (FOD) product right
I use Membership.CreateUser to create users for my web application on demand. But is
We are attempting to use the paramiko module for creating SSH tunnels on demand
I want to use Git to store and version data efficiently, but I also
I'm currently successfully using MEF to load-on-demand Xaps in my Silverlight 4 application. I
We develop a set of industrial applications that use SQL Server. As demand expands,
I'm attempting to use Fogbugz's BugzScout in order to automatically submit unhanded application exceptions
I'm using a FrameLayout to display (on demand) some text on the screen. I

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.