[PATCH] clone: update to tip instead of default branch if default branch is closed

Matt Mackall mpm at selenic.com
Mon Jun 13 10:40:59 CDT 2011


On Mon, 2011-06-13 at 11:28 +0200, Jesse Long wrote:
> # HG changeset patch
> # User Jesse Long <jpl at unknown.za.net>
> # Date 1307956824 -7200
> # Node ID 755a851bd451266de6b546833a9de1bc4490819e
> # Parent  17c0cb1045e549d9bbbd9ba25dee18f7df4a11a3
> clone: update to tip instead of default branch if default branch is closed

> Previously, if no explicit update revision is provided when cloning, hg
> updates the newly cloned repo to the tip-most head of the default branch
> if the default branch exists. If no default branch exists, hg updates to
> tip.

No thanks. Not having a default branch is a bad idea. Taking this patch
would suggest to people that it was supported usage.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list