mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
test-commandserver: generate files with a fixed EOL for test stability
The hashes were different on Windows.
This commit is contained in:
parent
6ea942a477
commit
0ad55d4a9e
@ -378,7 +378,10 @@ cache of non-public revisions should be invalidated on repository change
|
||||
... runcommand(server, ['log', '-qr', 'draft()'])
|
||||
... # create draft commits by another process
|
||||
... for i in xrange(5, 7):
|
||||
... os.system('echo a >> a')
|
||||
... f = open('a', 'ab')
|
||||
... f.seek(0, os.SEEK_END)
|
||||
... f.write('a\n')
|
||||
... f.close()
|
||||
... os.system('hg commit -Aqm%d' % i)
|
||||
... # new commits should be listed as draft revisions
|
||||
... runcommand(server, ['log', '-qr', 'draft()'])
|
||||
|
Loading…
Reference in New Issue
Block a user