##// END OF EJS Templates
context: use `dirstate.set_tracked` for `revert`...
marmoute -
r48396:791e2333 default
parent child Browse files
Show More
@@ -3686,7 +3686,7 b' def _performrevert('
3686 if f not in newlyaddedandmodifiedfiles:
3686 if f not in newlyaddedandmodifiedfiles:
3687 prntstatusmsg(b'add', f)
3687 prntstatusmsg(b'add', f)
3688 checkout(f)
3688 checkout(f)
3689 repo.dirstate.add(f)
3689 repo.dirstate.set_tracked(f)
3690
3690
3691 normal = repo.dirstate.normallookup
3691 normal = repo.dirstate.normallookup
3692 if node == parent and p2 == repo.nullid:
3692 if node == parent and p2 == repo.nullid:
General Comments 0
You need to be logged in to leave comments. Login now