From: Eric S. Raymond Date: Wed, 19 Nov 2014 12:33:49 +0000 (-0500) Subject: Information hiding. X-Git-Tag: 0.10~3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=a0d0d6e5bfcbdd3a176e8fdae42b68a1b48568b6;p=src.git Information hiding. --- 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: