Show More
@@ -322,10 +322,16 b' def updateworkingcopy(repo, assumeclean=' | |||
|
322 | 322 | addedmatch = matchmod.differencematcher(newmatch, oldmatch) |
|
323 | 323 | removedmatch = matchmod.differencematcher(oldmatch, newmatch) |
|
324 | 324 | |
|
325 | assert repo.currentwlock() is not None | |
|
325 | 326 | ds = repo.dirstate |
|
326 | lookup, status, _mtime_boundary = ds.status( | |
|
327 | removedmatch, subrepos=[], ignored=True, clean=True, unknown=True | |
|
328 | ) | |
|
327 | with ds.running_status(repo): | |
|
328 | lookup, status, _mtime_boundary = ds.status( | |
|
329 | removedmatch, | |
|
330 | subrepos=[], | |
|
331 | ignored=True, | |
|
332 | clean=True, | |
|
333 | unknown=True, | |
|
334 | ) | |
|
329 | 335 | trackeddirty = status.modified + status.added |
|
330 | 336 | clean = status.clean |
|
331 | 337 | if assumeclean: |
General Comments 0
You need to be logged in to leave comments.
Login now