D6556: cleanup: use named constants for second arg to .seek()

2019-07-09 Thread yuja (Yuya Nishihara)
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) > > +

Re: D6556: cleanup: use named constants for second arg to .seek()

2019-07-09 Thread Yuya Nishihara
> @@ -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)

D6556: cleanup: use named constants for second arg to .seek()

2019-07-08 Thread durin42 (Augie Fackler)
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

D6556: cleanup: use named constants for second arg to .seek()

2019-07-08 Thread durin42 (Augie Fackler)
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

D6556: cleanup: use named constants for second arg to .seek()

2019-07-08 Thread durin42 (Augie Fackler)
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

D6556: cleanup: use named constants for second arg to .seek()

2019-06-20 Thread durin42 (Augie Fackler)
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