changeset 24451:c3bbafef25d6

revert: comment that filesets are always evaluated against workingctx
author Yuya Nishihara <yuya@tcha.org>
date Sat, 17 Jan 2015 14:22:21 +0900
parents 961790c35b4f
children 7797fadac0e8
files mercurial/cmdutil.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Tue Mar 24 15:47:57 2015 -0700
+++ b/mercurial/cmdutil.py	Sat Jan 17 14:22:21 2015 +0900
@@ -2797,7 +2797,9 @@
 
     # need all matching names in dirstate and manifest of target rev,
     # so have to walk both. do not print errors if files exist in one
-    # but not other.
+    # but not other. in both cases, filesets should be evaluated against
+    # workingctx to get consistent result (issue4497). this means 'set:**'
+    # cannot be used to select missing files from target rev.
 
     # `names` is a mapping for all elements in working copy and target revision
     # The mapping is in the form: