[PATCH] revlog: fix indent (issue5019)

André Sintzoff andre.sintzoff at gmail.com
Sat Dec 19 03:32:30 CST 2015


2015-12-19 10:23 GMT+01:00 André Sintzoff <andre.sintzoff at gmail.com>:
> # HG changeset patch
> # User André Sintzoff <andre.sintzoff at gmail.com>
> # Date 1450516999 -3600
> #      Sat Dec 19 10:23:19 2015 +0100
> # Branch stable
> # Node ID 005f61f35d13ed295f8f369c75cf74a9c6bee287
> # Parent  e240e914d2261788c3ba700401659c11ed820fe3
> revlog: fix indent (issue5019)
>
> diff -r e240e914d226 -r 005f61f35d13 mercurial/revlog.py
> --- a/mercurial/revlog.py       Thu Dec 17 17:16:02 2015 -0800
> +++ b/mercurial/revlog.py       Sat Dec 19 10:23:19 2015 +0100
> @@ -1438,7 +1438,7 @@
>          # We work around this issue by inserting a seek() before writing.
>          # Note: This is likely not necessary on Python 3.
>          ifh.seek(0, os.SEEK_END)
> -        if dfh:
> +        if dfh:
>              dfh.seek(0, os.SEEK_END)
>
>          curr = len(self) - 1

BTW, I'm little bit surprised that a tab was included in a Python file.

Is there no contrib/check-code.py performed on all the modified files
before pushing to an "official" repository?

-- 
André


More information about the Mercurial-devel mailing list