##// END OF EJS Templates
revert: comment that filesets are always evaluated against workingctx
Yuya Nishihara -
r24451:c3bbafef default
parent child Browse files
Show More
@@ -2797,7 +2797,9 b' def revert(ui, repo, ctx, parents, *pats'
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:
General Comments 0
You need to be logged in to leave comments. Login now