diff hgeditor @ 25763:60c791592aa7

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.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 12 Apr 2015 21:52:02 +0900
parents 2b440bb8a66b
children 1aee2ab0f902
line wrap: on
line diff