##// END OF EJS Templates
revert: use `set_untracked` when performing a revert...
marmoute -
r48402:8f0c3533 default
parent child Browse files
Show More
@@ -3549,7 +3549,7 b' def _performrevert('
3549 repo.wvfs.unlinkpath(f, rmdir=rmdir)
3549 repo.wvfs.unlinkpath(f, rmdir=rmdir)
3550 except OSError:
3550 except OSError:
3551 pass
3551 pass
3552 repo.dirstate.remove(f)
3552 repo.dirstate.set_untracked(f)
3553
3553
3554 def prntstatusmsg(action, f):
3554 def prntstatusmsg(action, f):
3555 exact = names[f]
3555 exact = names[f]
@@ -3587,7 +3587,7 b' def _performrevert('
3587 for f in actions[b'drop'][0]:
3587 for f in actions[b'drop'][0]:
3588 audit_path(f)
3588 audit_path(f)
3589 prntstatusmsg(b'drop', f)
3589 prntstatusmsg(b'drop', f)
3590 repo.dirstate.remove(f)
3590 repo.dirstate.set_untracked(f)
3591
3591
3592 normal = None
3592 normal = None
3593 if node == parent:
3593 if node == parent:
General Comments 0
You need to be logged in to leave comments. Login now