yuja added a comment.
> @@ -16,6 +16,7 @@
> import collections
> import contextlib
> import errno
> +import io
> import os
> import struct
> import zlib
> @@ -2306,7 +2307,7 @@
>
> try:
> with self._datafp() as f:
>
> - f.seek(0, 2)
>
> +
> @@ -16,6 +16,7 @@
> import collections
> import contextlib
> import errno
> +import io
> import os
> import struct
> import zlib
> @@ -2306,7 +2307,7 @@
>
> try:
> with self._datafp() as f:
> -f.seek(0, 2)
> +f.seek(0, io.SEEK_END)
Closed by commit rHG4eaf7197a740: cleanup: use named constants for second arg
to .seek() (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6556?vs=15798=15816
durin42 updated this revision to Diff 15798.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6556?vs=15797=15798
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6556/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6556
AFFECTED FILES
durin42 updated this revision to Diff 15797.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6556?vs=15619=15797
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6556/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6556
AFFECTED FILES
durin42 created this revision.
Herald added a reviewer: indygreg.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6556
AFFECTED FILES
hgext/fastannotate/revmap.py