[PATCH 6 of 7] largefiles: remove unused readstandin()
FUJIWARA Katsunori
foozy at lares.dti.ne.jp
Fri Mar 31 13:41:51 EDT 2017
# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# 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.root>/<standin>'''
repo.wwrite(standin, hash + '\n', executable and 'x' or '')
More information about the Mercurial-devel
mailing list