diff mercurial/context.py @ 31612: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 413b44003462
children f33c9a5e81cd
line wrap: on
line diff
--- a/mercurial/context.py	Mon Mar 20 17:58:44 2017 -0400
+++ b/mercurial/context.py	Fri Mar 24 22:13:23 2017 +0900
@@ -1864,8 +1864,8 @@
     commit function for every file in 'files', but calls order is
     undefined. If the file is available in the revision being
     committed (updated or added), filectxfn returns a memfilectx
-    object. If the file was removed, filectxfn raises an
-    IOError. Moved files are represented by marking the source file
+    object. If the file was removed, filectxfn return None for recent
+    Mercurial. Moved files are represented by marking the source file
     removed and the new file added with copy information (see
     memfilectx).