From patchwork Fri Mar 31 17:41:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [6,of,7] largefiles: remove unused readstandin() From: Katsunori FUJIWARA X-Patchwork-Id: 19878 Message-Id: <89507622f5b4cb8b8e9f.1490982111@speaknoevil> To: mercurial-devel@mercurial-scm.org Date: Sat, 01 Apr 2017 02:41:51 +0900 # HG changeset patch # User FUJIWARA Katsunori # Date 1490981569 -32400 # Sat Apr 01 02:32:49 2017 +0900 # Node ID 89507622f5b4cb8b8e9f99a02db43b64f10d95f3 # Parent b9fb0f258b9e13605fac19a7aba4cad71e465326 largefiles: remove unused readstandin() Now, there is no client of readstandin(). diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -361,11 +361,6 @@ def readasstandin(fctx): This encapsulates how "standin" data is stored into storage layer.''' return fctx.data().strip() -def readstandin(repo, filename, node=None): - '''read hex hash from standin for filename at given node, or working - directory if no node is given''' - return readasstandin(repo[node][standin(filename)]) - def writestandin(repo, standin, hash, executable): '''write hash to /''' repo.wwrite(standin, hash + '\n', executable and 'x' or '')