diff hgext/largefiles/lfcommands.py @ 31617:c93cdfa131a8

misc: update descriptions about removed file for filectxfn Since 650b5b6e75ed, filectxfn for memctx should return None for removed file instead of raising IOError.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri, 24 Mar 2017 22:13:23 +0900
parents d71db0e3b7b9
children 5c1d3f1b8f44
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py	Mon Mar 20 17:58:44 2017 -0400
+++ b/hgext/largefiles/lfcommands.py	Fri Mar 24 22:13:23 2017 +0900
@@ -246,7 +246,7 @@
     def getfilectx(repo, memctx, f):
         if lfutil.isstandin(f):
             # if the file isn't in the manifest then it was removed
-            # or renamed, raise IOError to indicate this
+            # or renamed, return None to indicate this
             srcfname = lfutil.splitstandin(f)
             try:
                 fctx = ctx.filectx(srcfname)