_PushLocalHgProject

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

This kind of push overwrites the contents of the Bitbucket repository. You should use it with great caution.

  1. Create a new, empty repository on Bitbucket.
  2. Go to your local machine and start the TortoiseHg Workbench.
  3. Select the repository you want to push from the Repository Registry.
  4. Choose File > Settings from the menu bar.
    The TortoiseHg Settings dialog appears. It includes a tab for your global settings and a tab for the repository you selected.
  5. Select the tab for the repository settings.
  6. Click Edit File.
  7. Change the default value.
    This value is the repository on Bitbucket you want to push to:
  8. Press Save to save your edits and close the file.
  9. Press OK to close the settings.
  10. Press Push outgoing changes to selected URL.

No TortoiseHg Workbench Available?

The TortoiseHg Workbench was introduced in version 2.0. If you don't have this version of TortoiseHg, you can upgrade.  Alternatively, you can:

  1. Change to the root of your Mercurial repository.
  2. Change to the .hg subdirectory.
  3. Edit the hgrc file.
  4. Edit the default value making sure to specify the address of the empty repository you created in Step 1.
  5. Save and close the file.
  6. Push the repository.
Last modified on Jun 23, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.