Patchwork [STABLE] revlog: fix bad indentation (replace tab by space)

login
register
mail settings
Submitter Martin von Zweigbergk
Date Dec. 19, 2015, 5:01 a.m.
Message ID <e47841c8343d06b91637.1450501277@waste.org>
Download mbox | patch
Permalink /patch/12181/
State Accepted
Headers show

Comments

Martin von Zweigbergk - Dec. 19, 2015, 5:01 a.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1450500881 28800
#      Fri Dec 18 20:54:41 2015 -0800
# Branch stable
# Node ID e47841c8343d06b91637c84866bf1469b835b1f7
# Parent  e240e914d2261788c3ba700401659c11ed820fe3
revlog: fix bad indentation (replace tab by space)
Martin von Zweigbergk - Dec. 19, 2015, 5:03 a.m.
Pushed to the clowncopter

On Fri, Dec 18, 2015 at 9:01 PM Martin von Zweigbergk <martinvonz@google.com>
wrote:

> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz@google.com>
> # Date 1450500881 28800
> #      Fri Dec 18 20:54:41 2015 -0800
> # Branch stable
> # Node ID e47841c8343d06b91637c84866bf1469b835b1f7
> # Parent  e240e914d2261788c3ba700401659c11ed820fe3
> revlog: fix bad indentation (replace tab by space)
>
> diff --git a/mercurial/revlog.py b/mercurial/revlog.py
> --- a/mercurial/revlog.py
> +++ b/mercurial/revlog.py
> @@ -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
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel
>

Patch

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -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