From patchwork Thu Sep 5 20:07:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [06, of, 48, RFC] workingfilectx: remove unneeded __repr__ since it is now inherited From: Sean Farley X-Patchwork-Id: 2344 Message-Id: <7fa9dbb4d6ea9ac15c8e.1378411620@laptop.local> To: mercurial-devel@selenic.com Date: Thu, 05 Sep 2013 15:07:00 -0500 # HG changeset patch # User Sean Farley # Date 1376505176 18000 # Wed Aug 14 13:32:56 2013 -0500 # Node ID 7fa9dbb4d6ea9ac15c8ec0e9631bc9f626034a34 # Parent 1b81e429039f57f8f1709580189db5ed0c8c6e04 workingfilectx: remove unneeded __repr__ since it is now inherited diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1200,13 +1200,10 @@ return workingctx(self._repo) def __nonzero__(self): return True - def __repr__(self): - return "" % str(self) - def data(self): return self._repo.wread(self._path) def renamed(self): rp = self._repo.dirstate.copied(self._path) if not rp: