Commit c31d9dbe authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent dc258a2d
......@@ -310,7 +310,7 @@ type hwaiter struct {
//
// Must be called db.mu released.
func (db *DB) headWait(ctx context.Context, at Tid) (err error) {
defer xerr.Contextf(&err, "wait head ≥ %s", at)
defer xerr.Contextf(&err, "wait head ≥ @%s", at)
// precheck if db is already down -> error even if at is under coverage
if ready(db.down) {
......
......@@ -199,6 +199,7 @@ func (δtail *ΔTail) ForgetPast(revCut Tid) {
δtail.tail = revCut
}
// XXX -> RevAt ?
// LastRevOf tries to return what was the last revision that changed id as of at database state.
//
// Depending on current information in δtail it returns either exact result, or
......
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