https://bz.mercurial-scm.org/show_bug.cgi?id=6025

            Bug ID: 6025
           Summary: `hg diff --git --stat` does not work correctly on
                    renames
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: 7895pul...@gmail.com
                CC: mercurial-devel@mercurial-scm.org

On a clean working directory, if you do a rename, and do `hg diff --stat
--git`, you will see that it emits something like:

`<new-file-name> |  0 
1 files changed, 0 insertions(+), 0 deletions(-)`

There is no mention of old file being deleted.

If you do that same thing in git, i.e. `git diff --stat`, you will see the
following:

`<old-filename> | 1 -
 <new-filename> | 1 +
2 file changes, 1 insertion(+), 1 deletion(-)
`

The desired behavior should be same as what git does.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to