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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:02:05+00:00 2026-05-17T16:02:05+00:00

We converted everything to Mercurial coming from CVS and so far so good. An

  • 0

We converted everything to Mercurial coming from CVS and so far so good. An issue we encountered today though is this situation.

Before the move to Mercurial I had a few pending changes from a while back, features that were started and later postponed for various reason. Odds are that someone else will finish those features months from now picking up from where I left off.

After cloning the new Mercurial repository I created separate branches to isolate those features.

It left me with something like this (made up rev. number)

hg update default
hg branch feature1
hg commit -m "Description of what I was doing in feature1"
hg update default 
hg branch feature2
hg commit -m "Description of what I was doing feature2" (my tip is now here)
hg update default
hg push -f (to force the creation of my new branches, w/o affecting default, I haven't merged them)

During this the team have been working and pushing to our central repository so the default branch is say rev 40 (tip)

Now my push -f worked fine but positioned (tip) to my latest change -> 50:feature3 (tip). I was expecting the tip to stay at default on the central repository and just have my branches in there for someone to pick them up whenever. The graph also looks pretty funny when I use hgwebdir so I am pretty sure that’s the wrong approach.

How would I do this? Should I close the branch first? Is tip actually important or just meta-data.

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

    tip is always the most recent changeset added to the repository. From hg help revs:

    The reserved name “tip” is a special tag that always identifies the most recent revision.

    So long as the head of the default branch is what you expect, you’ll be OK. No need to close the branch (but it’s better to use hg push --new-branch if your version of Mercurial is new enough to support it).

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

Sidebar

Related Questions

I recently converted a CVS repository to Mercurial. From the looks of it, everything
I converted an old cvs repository into mercurial via hg convert . Everything seemed
The following SQL SELECT * FROM customers converted to this in LINQ var customers
The PHP substr function does not accept strings converted from integers... :P The situation
I converted my web application from preview 3 to beta1 and am now trying
I recently converted a site from asp to CF. Unfortunately, alot of the old
We've converted our solution from .NET 2.0 to .NET 3.5. All projects converted just
I have just converted a project from Visual Studio 2003 to 2005 and although
(EDIT: This question is now outdated for my particular issue, as Google Code supports
I converted a forms website into an application and everything has been working just

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.