[PATCH 3 of 3 STABLE] revert: look for copies information for all local modifications

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Nov 26 18:43:19 CST 2014



On 11/26/2014 04:38 PM, Martin von Zweigbergk wrote:
>
> On Wed Nov 26 2014 at 4:33:16 PM Pierre-Yves David
> <pierre-yves.david at ens-lyon.org <mailto:pierre-yves.david at ens-lyon.org>>
> wrote:
>
>
>
>     On 11/26/2014 04:29 PM, Martin von Zweigbergk wrote:
>      >
>      > On Wed Nov 26 2014 at 3:31:37 PM Pierre-Yves David
>      > <pierre-yves.david at ens-lyon.__org
>     <mailto:pierre-yves.david at ens-lyon.org>
>     <mailto:pierre-yves.david at ens-__lyon.org
>     <mailto:pierre-yves.david at ens-lyon.org>>>
>      > wrote:
>      >
>      >     +Also true for move overwriting existing file
>      >     +
>      >     +  $ hg mv --force a b/b
>      >     +  $ hg revert b/b
>      >     +  $ hg status a b/b
>      >     +
>      >
>      >
>      > Could you remind me what the output would have been before this
>     patch?
>
>
>     B would not have been removed.
>
>
> It is still not removed... which makes sense, but it's no difference.

What I wanted to write is:

Before this patch, a (the source of the rename) is left removed. After 
this patch it is properly restored when 'b/b' (the destination of the 
rename) is reverted.

Sorry for the extra round trip.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list