From a0d0d6e5bfcbdd3a176e8fdae42b68a1b48568b6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 19 Nov 2014 07:33:49 -0500 Subject: [PATCH] Information hiding. --- src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src b/src index 47e5288..fff47f1 100755 --- a/src +++ b/src @@ -158,7 +158,7 @@ def modified(workfile): history = History(workfile) with backend.lifter(workfile): tmp = os.path.join(repodir, "tmp" + str(os.getpid())) - backend.cat(workfile, history.lockrevs[0], tmp) + backend.cat(workfile, history.current().native, tmp) base_content = open(tmp).read() os.remove(tmp) if workfile_content is None: -- 2.43.0