# HG changeset patch # User Matt Mackall # Date 2011-05-01 09:56:24 # Node ID 3e9e02a41dfb0a85ec0968681e416d579ee875db # Parent 0824a0a3cefccfc93f0d049b80bab552d8828375 util: really drop size from readfile diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -774,7 +774,7 @@ def makedirs(name, mode=None): def readfile(path): fp = open(path) try: - return fp.read(size) + return fp.read() finally: fp.close()