[Python-Dev] hg diff

Éric Araujo merwok at netwok.org
Wed Mar 9 03:32:48 CET 2011


Hi,

First, thank you for stepping up again to work on the code review
integration.

> It seems that the dev guide recommends to use the --git option in hg
> diff.

>From “hg help diffs”:

    While this standard format [unified diff] is often enough, it does
    not encode the following information:

    - executable status and other permission bits
    - copy or rename information
    - changes in binary files
    - creation or deletion of empty files

I’m of the opinion that hg diffs should always use the extended git
format, given their usefulness.  A tool working with hg diffs that does
not support this format is broken IMO.

Regards


More information about the Python-Dev mailing list