##// END OF EJS Templates
tests: use Python to write binary data in lfs test instead of shell...
Augie Fackler -
r35377:c7d49b87 default
parent child Browse files
Show More
@@ -232,9 +232,10
232 232 $ hg mv b1 a2
233 233 $ hg commit -m b
234 234 $ hg status
235 $ HEADER=$'\1\n'
236 $ printf '%sSTART-WITH-HG-FILELOG-METADATA' "$HEADER" > a2
237 $ printf '%sMETA\n' "$HEADER" > a1
235 >>> with open('a2', 'wb') as f:
236 ... f.write(b'\1\nSTART-WITH-HG-FILELOG-METADATA')
237 >>> with open('a1', 'wb') as f:
238 ... f.write(b'\1\nMETA\n')
238 239 $ hg commit -m meta
239 240 $ hg status
240 241 $ hg log -T '{rev}: {file_copies} | {file_dels} | {file_adds}\n'
General Comments 0
You need to be logged in to leave comments. Login now