Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
31611:6359976b43be | 31612:c93cdfa131a8 |
---|---|
1862 repository, the current memctx object and the normalized path of | 1862 repository, the current memctx object and the normalized path of |
1863 requested file, relative to repository root. It is fired by the | 1863 requested file, relative to repository root. It is fired by the |
1864 commit function for every file in 'files', but calls order is | 1864 commit function for every file in 'files', but calls order is |
1865 undefined. If the file is available in the revision being | 1865 undefined. If the file is available in the revision being |
1866 committed (updated or added), filectxfn returns a memfilectx | 1866 committed (updated or added), filectxfn returns a memfilectx |
1867 object. If the file was removed, filectxfn raises an | 1867 object. If the file was removed, filectxfn return None for recent |
1868 IOError. Moved files are represented by marking the source file | 1868 Mercurial. Moved files are represented by marking the source file |
1869 removed and the new file added with copy information (see | 1869 removed and the new file added with copy information (see |
1870 memfilectx). | 1870 memfilectx). |
1871 | 1871 |
1872 user receives the committer name and defaults to current | 1872 user receives the committer name and defaults to current |
1873 repository username, date is the commit date in any format | 1873 repository username, date is the commit date in any format |