ahal / hunting-the-shmoo

My personal blog
0 stars 0 forks source link

blog/2015/making-mercurial-bookmarks-more-git-like/ #387

Open ahal opened 5 years ago

ahal commented 5 years ago

https://ahal.ca/blog/2015/making-mercurial-bookmarks-more-git-like/

ahal commented 5 years ago

Mathiasdm wrote on 2015-03-30 07:15:07

This sounds very interesting, especially for things like rebase. Would you perhaps announce your extension on the Mercurial mailing list ( www.selenic.com/pipermail/m... )? I could imagine quite a bit of interest in this feature.

It seems like something to eventually add to progressive mode ( http://mercurial.selenic.co... ).

ahal commented 5 years ago

jgraham wrote on 2015-03-30 08:38:35

This sounds neat.

However describing it as git-like seems a little misleading; git's branches are literally just pointers to commits. The main difference between git and mercurial here is that the git command line seems to be well-designed to work with branches, but the hg one is not to work with bookmarks.

I also have some philosophical issues about the use of phases here (and in general); it seems to me that they are more confusing than helpful ("I pushed to bitbucket and now my branch is empty!"). On the other hand I understand that's The Mercurial Way.

ahal commented 5 years ago

ahal wrote on 2015-03-30 14:35:29

Ah, I confess I have no idea how git's branches work under the hood. But bookmarks are also pointers to commits, and this extension sort of massages the cli to deal with them a bit better.. so maybe git-like isn't so far off?

ahal commented 5 years ago

ahal wrote on 2015-03-30 15:41:25

Good idea, done!

ahal commented 5 years ago

Harvey wrote on 2015-04-21 17:39:52

Very cool idea. I could have used it already earlier today.

ahal commented 5 years ago

nikhilmarathe wrote on 2015-09-18 18:23:40

Thanks for the great plugin!