##// END OF EJS Templates
archival: use py3 friendly replacements for chr() and long()...
Augie Fackler -
r36746:f14ba6eb default
parent child Browse files
Show More
@@ -177,6 +177,7 b' test-issue672.t'
177 test-issue842.t
177 test-issue842.t
178 test-journal-exists.t
178 test-journal-exists.t
179 test-largefiles-cache.t
179 test-largefiles-cache.t
180 test-largefiles-misc.t
180 test-largefiles-small-disk.t
181 test-largefiles-small-disk.t
181 test-locate.t
182 test-locate.t
182 test-lock-badness.t
183 test-lock-badness.t
@@ -227,6 +228,7 b' test-mq-qsave.t'
227 test-mq-safety.t
228 test-mq-safety.t
228 test-mq-symlinks.t
229 test-mq-symlinks.t
229 test-mv-cp-st-diff.t
230 test-mv-cp-st-diff.t
231 test-narrow-archive.t
230 test-narrow-clone-no-ellipsis.t
232 test-narrow-clone-no-ellipsis.t
231 test-narrow-clone-nonlinear.t
233 test-narrow-clone-nonlinear.t
232 test-narrow-clone.t
234 test-narrow-clone.t
@@ -362,6 +364,7 b' test-status-rev.t'
362 test-status-terse.t
364 test-status-terse.t
363 test-strip-cross.t
365 test-strip-cross.t
364 test-strip.t
366 test-strip.t
367 test-subrepo-deep-nested-change.t
365 test-subrepo.t
368 test-subrepo.t
366 test-symlinks.t
369 test-symlinks.t
367 test-treemanifest.t
370 test-treemanifest.t
@@ -142,8 +142,8 b' class tarit(object):'
142 flags = 0
142 flags = 0
143 if fname:
143 if fname:
144 flags = gzip.FNAME
144 flags = gzip.FNAME
145 self.fileobj.write(chr(flags))
145 self.fileobj.write(pycompat.bytechr(flags))
146 gzip.write32u(self.fileobj, long(self.timestamp))
146 gzip.write32u(self.fileobj, int(self.timestamp))
147 self.fileobj.write('\002')
147 self.fileobj.write('\002')
148 self.fileobj.write('\377')
148 self.fileobj.write('\377')
149 if fname:
149 if fname:
General Comments 0
You need to be logged in to leave comments. Login now