##// END OF EJS Templates
py3: string normalization and I/O tweaks in test-lfs.t...
Gregory Szorc -
r44570:2928d5af default
parent child Browse files
Show More
@@ -810,8 +810,11 b' The extension makes sure that the filelo'
810 810 blob, and the output shows that it isn't fetched.
811 811
812 812 $ cat > $TESTTMP/lfsrename.py <<EOF
813 > import sys
814 >
813 815 > from mercurial import (
814 816 > exthelper,
817 > pycompat,
815 818 > )
816 819 >
817 820 > from hgext.lfs import (
@@ -829,7 +832,10 b" blob, and the output shows that it isn't"
829 832 > rawtext = self._revlog.rawdata(node)
830 833 > metadata = pointer.deserialize(rawtext)
831 834 > print('lfs blob %s renamed %s -> %s'
832 > % (metadata[b'oid'], ret[0], self._revlog.filename))
835 > % (pycompat.sysstr(metadata[b'oid']),
836 > pycompat.sysstr(ret[0]),
837 > pycompat.fsdecode(self._revlog.filename)))
838 > sys.stdout.flush()
833 839 > return ret
834 840 > EOF
835 841
General Comments 0
You need to be logged in to leave comments. Login now