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