hgext/largefiles/lfutil.py
branchstable
changeset 27947 571ba161f6be
parent 27942 eb1135d5e688
child 28464 6e34690230c0
--- a/hgext/largefiles/lfutil.py	Wed Jan 27 10:24:25 2016 -0500
+++ b/hgext/largefiles/lfutil.py	Sun Jan 24 00:10:19 2016 -0500
@@ -319,6 +319,8 @@
         hash = hashfile(file)
         executable = getexecutable(file)
         writestandin(repo, standin, hash, executable)
+    else:
+        raise error.Abort(_('%s: file not found!') % splitstandin(standin))
 
 def readstandin(repo, filename, node=None):
     '''read hex hash from standin for filename at given node, or working