Hacker News new | comments | show | ask | jobs | submit login
Moving Changes to Feature Branches After-the-Fact in Mercurial (rachum.com)
7 points by Nurdok 1786 days ago | hide | past | web | 1 comment | favorite

It sounds like the author isn't really interested in named branches, but rather postpone the push of his work-in-progress that's on the default branch. You don't need anything fancy for that, and certainly not rebase.

Mercurial has so-called anonymous branches, so all he needs to do is 'hg update' to the commit preceding his work on feature A, start work on feature B (will result in two heads on the default branch) and then push only those changes by specifying the -r flag to push.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact