Show More
@@ -255,7 +255,9 b' def debugstrip(ui, repo, *revs, **opts):' | |||
|
255 | 255 | |
|
256 | 256 | # reset files that only changed in the dirstate too |
|
257 | 257 | dirstate = repo.dirstate |
|
258 | dirchanges = [f for f in dirstate if dirstate[f] != b'n'] | |
|
258 | dirchanges = [ | |
|
259 | f for f in dirstate if not dirstate.get_entry(f).maybe_clean | |
|
260 | ] | |
|
259 | 261 | changedfiles.extend(dirchanges) |
|
260 | 262 | |
|
261 | 263 | repo.dirstate.rebuild(urev, uctx.manifest(), changedfiles) |
General Comments 0
You need to be logged in to leave comments.
Login now