##// END OF EJS Templates
status: fix post status writing...
marmoute -
r50950:c5ef535e default
parent child Browse files
Show More
@@ -1875,12 +1875,16 b' class workingctx(committablectx):'
1875 normal = dirstate.set_clean
1875 normal = dirstate.set_clean
1876 for f, pdf in fixup:
1876 for f, pdf in fixup:
1877 normal(f, pdf)
1877 normal(f, pdf)
1878 # write changes out explicitly, because nesting
1878 # write changes out explicitly, because nesting
1879 # wlock at runtime may prevent 'wlock.release()'
1879 # wlock at runtime may prevent 'wlock.release()'
1880 # after this block from doing so for subsequent
1880 # after this block from doing so for subsequent
1881 # changing files
1881 # changing files
1882 tr = self._repo.currenttransaction()
1882 #
1883 self._repo.dirstate.write(tr)
1883 # (This is outside of the (if fixup) block because the
1884 # status operation itself might have updated some cache
1885 # information before.)
1886 tr = self._repo.currenttransaction()
1887 self._repo.dirstate.write(tr)
1884
1888
1885 if poststatus:
1889 if poststatus:
1886 for ps in poststatus:
1890 for ps in poststatus:
General Comments 0
You need to be logged in to leave comments. Login now