Commit 9d00163b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d372fde8
...@@ -256,16 +256,16 @@ class tDB: ...@@ -256,16 +256,16 @@ class tDB:
transaction.commit() transaction.commit()
head = last._p_serial head = last._p_serial
print('\nM: commit -> %s' % t.hat(head))
for zf, zfDelta in t._changed.items():
print('M: f<%s>\t%s' % (h(zf._p_oid), sorted(zfDelta.keys())))
t._changed = {}
dF.rev = head dF.rev = head
for dfile in dF.byfile.values(): for dfile in dF.byfile.values():
dfile.rev = head dfile.rev = head
t.dFtail.append(dF) t.dFtail.append(dF)
print('\nM: commit -> %s' % t.hat(head))
for zf, zfDelta in t._changed.items():
print('M: f<%s>\t%s' % (h(zf._p_oid), sorted(zfDelta.keys())))
t._changed = {}
# synchronize wcfs to db # synchronize wcfs to db
t._wcsync() t._wcsync()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment