Show More
@@ -233,7 +233,7 b' def openlfdirstate(ui, repo, create=True' | |||
|
233 | 233 | # largefiles operation in a new clone. |
|
234 | 234 | if create and not vfs.exists(vfs.join(lfstoredir, b'dirstate')): |
|
235 | 235 | try: |
|
236 | with repo.wlock(wait=False): | |
|
236 | with repo.wlock(wait=False), lfdirstate.changing_files(repo): | |
|
237 | 237 | matcher = getstandinmatcher(repo) |
|
238 | 238 | standins = repo.dirstate.walk( |
|
239 | 239 | matcher, subrepos=[], unknown=False, ignored=False |
@@ -250,8 +250,6 b' def openlfdirstate(ui, repo, create=True' | |||
|
250 | 250 | wc_tracked=True, |
|
251 | 251 | possibly_dirty=True, |
|
252 | 252 | ) |
|
253 | # avoid getting dirty dirstate before other operations | |
|
254 | lfdirstate.write(repo.currenttransaction()) | |
|
255 | 253 | except error.LockError: |
|
256 | 254 | # Assume that whatever was holding the lock was important. |
|
257 | 255 | # If we were doing something important, we would already have |
General Comments 0
You need to be logged in to leave comments.
Login now