[PATCH 2 of 3] destutil: make messages at updating to the closed head usual form

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sun Mar 27 14:26:29 EDT 2016



On 03/25/2016 06:57 PM, FUJIWARA Katsunori wrote:
> # HG changeset patch
> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> # Date 1458957211 -32400
> #      Sat Mar 26 10:53:31 2016 +0900
> # Node ID 38fff615b9baa28152cc346e90b5cc2927aae7ec
> # Parent  dc5ed2fb19f5d5d34d62cf6ece1f38269eb11684
> destutil: make messages at updating to the closed head usual form
>
> This patch makes messages at updating to the closed head usual form
> for Mercurial as below:
>
>      one line description of the problem with no period
>      (a suggestion about how to move forward or get more info)

This is a good step forward, but can get:

  - the name of the branch we are working on (important),
  - something pointing at other open head if they exists (proposal).

Something like:

case A: open branch, closed head

no open descendant heads on branch "jungle", updating to a closed head
(committing will reopen the head, use `hg branch` to see # other head)

case B: closed branch

no open descendant heads on branch "jungle", updating to a closed head
(committing will reopen branch "jungle")

Cheers,

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list