comparison mercurial/cmdutil.py @ 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 16961d43dc89
comparison
equal deleted inserted replaced
24450:961790c35b4f 24451:c3bbafef25d6
2795 else: 2795 else:
2796 pmf = None 2796 pmf = None
2797 2797
2798 # need all matching names in dirstate and manifest of target rev, 2798 # need all matching names in dirstate and manifest of target rev,
2799 # so have to walk both. do not print errors if files exist in one 2799 # so have to walk both. do not print errors if files exist in one
2800 # but not other. 2800 # but not other. in both cases, filesets should be evaluated against
2801 # workingctx to get consistent result (issue4497). this means 'set:**'
2802 # cannot be used to select missing files from target rev.
2801 2803
2802 # `names` is a mapping for all elements in working copy and target revision 2804 # `names` is a mapping for all elements in working copy and target revision
2803 # The mapping is in the form: 2805 # The mapping is in the form:
2804 # <asb path in repo> -> (<path from CWD>, <exactly specified by matcher?>) 2806 # <asb path in repo> -> (<path from CWD>, <exactly specified by matcher?>)
2805 names = {} 2807 names = {}