• Barry Warsaw's avatar
    checkHistoryAfterVersionCommit(), checkHistoryAfterVersionAbort(): · 904f8975
    Barry Warsaw authored
    After consultation with Jim, we agreed that Full's behavior vis object
    serial numbers after a version commit/abort are correct.  The new
    revision should get the serial number of the transaction that did the
    commit/abort.
    
    FileStorage is actually broken here; the new revision gets the same
    serial number as the last in-version revision.  However, the way the
    tests are written, it works for either storage, so I'm just updating
    some comments to explain the situation.
    
    Note: Jim also explained that history()'s "version" argument should be
    ignored.  Doesn't make much difference to these tests though.
    904f8975
To find the state of this project's repository at the time of any of these versions, check out the tags.
HistoryStorage.py 7.88 KB