comparison hgext/strip.py @ 36016:ca62987f3f7d

py3: replace file() with open() in test-transplant.t file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. Differential Revision: https://phab.mercurial-scm.org/D2115
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 11 Feb 2018 17:00:21 +0530
parents c3ebe69f6391
children 28a97cf212af
comparison
equal deleted inserted replaced
36015:3790d735ff68 36016:ca62987f3f7d