]> thyrsus.com Git - src.git/commitdiff
Information hiding.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 19 Nov 2014 12:33:49 +0000 (07:33 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 19 Nov 2014 12:33:49 +0000 (07:33 -0500)
src

diff --git a/src b/src
index 47e52884cd0326721a62dfac80071aea42a4c09e..fff47f1e3edce3c1a639827635f85e0ba4a4029b 100755 (executable)
--- 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: