Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the default revision in Mercurial?

When I clone the following project

http://code.google.com/p/signal-detector/source

it comes in the revision marked as default, that isn't the latest nor the tip revision.

I tried many merges to make the latest revision to become default, but I couldn't.

How to do that?

like image 692
Jader Dias Avatar asked Dec 29 '22 06:12

Jader Dias


1 Answers

I think I see what happened, you created a tag named default and you shouldn't. In the absence of a tag default gets you the most tip-ward changeset with the branch name default. However, since you have a tag named default that points to revision c257bbab2cf6c87b2c212aadbdd76f14c71e1ee2 you're getting that as the default update instead.

Delete the tag with:

hg tag --remove default

and I think you'll get the behavior you're expecting.

like image 178
Ry4an Brase Avatar answered Jan 11 '23 15:01

Ry4an Brase