Show More
@@ -1838,9 +1838,15 b' class workingctx(committablectx):' | |||
|
1838 | 1838 | # wlock can invalidate the dirstate, so cache normal _after_ |
|
1839 | 1839 | # taking the lock |
|
1840 | 1840 | with self._repo.wlock(False): |
|
1841 |
|
|
|
1841 | dirstate = self._repo.dirstate | |
|
1842 | if dirstate.identity() == oldid: | |
|
1842 | 1843 | if fixup: |
|
1843 |
|
|
|
1844 | if dirstate.pendingparentchange(): | |
|
1845 | normal = lambda f: dirstate.update_file( | |
|
1846 | f, p1_tracked=True, wc_tracked=True | |
|
1847 | ) | |
|
1848 | else: | |
|
1849 | normal = dirstate.set_clean | |
|
1844 | 1850 | for f in fixup: |
|
1845 | 1851 | normal(f) |
|
1846 | 1852 | # write changes out explicitly, because nesting |
General Comments 0
You need to be logged in to leave comments.
Login now