when merged more files are listed as changed
Matt Mackall
mpm at selenic.com
Wed Jun 3 17:38:32 UTC 2015
On Wed, 2015-06-03 at 18:44 +0530, Prabhakar S wrote:
> Greetings,
>
> We have a scenario where for two releases we are having two repos and
> sometimes when the two repos are merged, say repo_REL1 is merged to
> repo_REL2 and for some conflicts with two or three files .
>
> Once they are resolved and pushed, the notification email from hg shows ,
> more number of files as changed than expected.
>
> When i checked that , looks like it is generated using command below
>
> hg diff -r <tip> -r <priortotip_notsure_ifitisexact prior_to_tip> | diffstat
By default, it's going to show the difference between a commit and its
first parent.
> Now the question is
>
> 1. Is the hg notification using the above approach to send the list of
> modified files ?
Roughly.
> 2. Why is it showing more files as modified though only few files are
> modified ?
If, for instance, you merge your development branch into your release
branch with no conflicts.. the diff is still going to show _all your
development_ because all those files have changed.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list