lib/repo: Disable locking by default, add locking=true boolean
I want some time to play with this more with different callers and work through test scenarios. Let's disable the locking by default for now, but make it easy to enable. Closes: #1375 Approved by: jlebon
This commit is contained in:
1 parent
a9a9445582
commit
ad814d1c8a
2 files changed
+29
-9
No files matched your search
@@ -43,6 +43,7 @@ subprocess.check_call(['ostree', '--repo=repo', 'init', '--mode=bare'])
|
||||
# and we don't need xattr coverage for this
|
||||
with open('repo/config', 'a') as f:
|
||||
f.write('disable-xattrs=true\n')
|
||||
f.write('locking=true\n')
|
||||
|
||||
def commit(v):
|
||||
tdir='tree{}'.format(v)
|
||||
|
||||
Reference in new issue
Block a user