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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T10:37:08+00:00 2026-05-21T10:37:08+00:00

For a workflow like this, $hg clone <bitbucket repo> … fix, fix … $hg

  • 0

For a workflow like this,

$hg clone <bitbucket repo>
... fix, fix ...
$hg commit -m "good comment!"

$hg bookmark stable 
...new fix on stable...
$hg commit -m "new fix on stable bookmark"

$hg bookmark experimental --> I would like to defer merging until its stable.
... hack hack more hack ....
$hg commit -m "more hack on experimental"
$created new head

$hg push <bitbucket repo>
"abort: push creates new remote heads!"
(did you forget to merge? use push -f to force)

I’ve read a lot saying ‘NEVER EVER use push -f to force’.

But yes, the experimental head needs to be pushed, as I don’t want to merge untill its stable enough. I don’t want to keep the changes on this bookmark on my machine for too long either (what happens if system got crashed?) and I’d like pull this bookmark and continue experiments later. Its a kind of ‘centralized’ approach though.
Whats the best way to deal with kind of situation ?
Is there any way to use bookmarks to deal this workflow? Don’t want to use named branch.

Note: I just used ‘push -f’, but Bitbucket never shows this bookmarks on repositories ‘Tags’ link.

  • 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-21T10:37:09+00:00Added an answer on May 21, 2026 at 10:37 am

    What you’re doing is just fine. The “don’t use push -f” is advice for people who have pulled, have multiple heads, and don’t know what that means.

    Bookmarks won’t show up on bitbucket. The changesets will show up as heads, of course, but the boomarks aren’t stored in the repo. When two version 1.6 or later Mercurial’s push/pull changesets they transfer bookmarks out-of-band, but bitbucket doesn’t have support for that yet (to my knowledge).

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

Sidebar

Related Questions

The workflow is like this: I receive a scan of a coupon with data
I have two process and a shared memory zone, my workflow is like this.
I've got a process something like a workflow, assume it like this: Prepare Eat
my dev workflow is something like this: term-1 $ ctl-C #kills tail term-1 $
I'm working on application which has workflow like this: 1.parsing home page (using HttpURLConnection,
My usual workflow when working with git, is something like this: create a local
I've got a 'git-svn' working tree. I'd like to clone a pure git repo
I'm new with Mercurial and I'm still trying to establish a workflow. I clone
I want to build an API service using Django. A basic workflow goes like
I want to implement something simple like /System/Workflows/Sample Workflow with the small addition of

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.