##// 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 b''
232 $ hg mv b1 a2
232 $ hg mv b1 a2
233 $ hg commit -m b
233 $ hg commit -m b
234 $ hg status
234 $ hg status
235 $ HEADER=$'\1\n'
235 >>> with open('a2', 'wb') as f:
236 $ printf '%sSTART-WITH-HG-FILELOG-METADATA' "$HEADER" > a2
236 ... f.write(b'\1\nSTART-WITH-HG-FILELOG-METADATA')
237 $ printf '%sMETA\n' "$HEADER" > a1
237 >>> with open('a1', 'wb') as f:
238 ... f.write(b'\1\nMETA\n')
238 $ hg commit -m meta
239 $ hg commit -m meta
239 $ hg status
240 $ hg status
240 $ hg log -T '{rev}: {file_copies} | {file_dels} | {file_adds}\n'
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