[PATCH] debugsetparent: document one common caveat specifically

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Mar 19 19:32:04 CDT 2015



On 03/02/2015 01:47 PM, Martin von Zweigbergk wrote:
>
>
> On Mon, Mar 2, 2015 at 12:45 PM Pierre-Yves David
> <pierre-yves.david at ens-lyon.org <mailto:pierre-yves.david at ens-lyon.org>>
> wrote:
>
>
>
>     On 02/25/2015 07:48 PM, Martin von Zweigbergk wrote:
>      > # HG changeset patch
>      > # User Martin von Zweigbergk <martinvonz at google.com
>     <mailto:martinvonz at google.com>>
>      > # Date 1424893154 28800
>      > #      Wed Feb 25 11:39:14 2015 -0800
>      > # Node ID f4138e611d14b8e9bc9e2dc8417a09__4ddb83173a
>      > # Parent  e7785573a4af258101d0cc0b0947a6__de65273096
>      > debugsetparent: document one common caveat specifically
>
>     Good step forward, pushed to the clowncopter.
>
>     Maybe we should also point directly to the `debugrebuilddirstate`
>     command ?
>
>
> Good idea. I think it should work when not merging. I had to try it to
> see how it behaved during merges. Unfortunately, it doesn't seem to
> work. It resets the parents. The best I can think of is 'hg files |
> xargs touch -c'. Do you think it's still worth adding a pointer to
> debugrebuilddirstate for non-merges?

probably ? With a mention that this is broken during merge, especially 
in the debugrebuilddirstate documentation itself.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list