This page is primarily intended for developers of Mercurial.

hg goto

Status: Early Proposal

/!\ This is a work in progress

1. Goal

Reinvent hg update without the backwards compatibility concerns.

2. Proposal

From mpm at

Other update related feature could also find a caring home in that command

As a bonus, the common beginner mistake of thinking "update" only goes forward and then trying to use "revert" to go backwards will probably go away. As for the "merge-if-trivial" mode (which I agree is useful), I'd prefer to do that by refactoring the merge code. There are lots of places where we'd like to do such merges (via --tool, perhaps) and even a few places where we'd like to ask the question of whether a merge is trivial without touching the working copy.

CategoryDeveloper CategoryNewFeatures

GotoCommandPlan (last edited 2016-09-07 10:17:24 by Pierre-YvesDavid)