Skip to content
Snippets Groups Projects
Commit 60c79159 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

changeset_printer: change flush() to accept ctx instead of rev

Because flush() is the function to write data buffered by show(ctx),
flush(ctx) is more consistent than flush(rev). This makes sure that
buffered header and hunk are always keyed by ctx.rev().

This patch will allow us to give an integer to the wdir while keeping
wctx.rev() -> None.
parent f4412380
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment