##// END OF EJS Templates
dirstate: rename the filegenerator used for writing...
marmoute -
r49532:111f5a0c default
parent child Browse files
Show More
@@ -706,7 +706,7 b' class dirstate(object):'
706 if tr:
706 if tr:
707 # delay writing in-memory changes out
707 # delay writing in-memory changes out
708 tr.addfilegenerator(
708 tr.addfilegenerator(
709 b'dirstate',
709 b'dirstate-1-main',
710 (self._filename,),
710 (self._filename,),
711 lambda f: self._writedirstate(tr, f),
711 lambda f: self._writedirstate(tr, f),
712 location=b'plain',
712 location=b'plain',
@@ -1374,7 +1374,7 b' class dirstate(object):'
1374 # changes written out above, even if dirstate is never
1374 # changes written out above, even if dirstate is never
1375 # changed after this
1375 # changed after this
1376 tr.addfilegenerator(
1376 tr.addfilegenerator(
1377 b'dirstate',
1377 b'dirstate-1-main',
1378 (self._filename,),
1378 (self._filename,),
1379 lambda f: self._writedirstate(tr, f),
1379 lambda f: self._writedirstate(tr, f),
1380 location=b'plain',
1380 location=b'plain',
@@ -28,7 +28,10 b' version = 2'
28 # These are the file generators that should only be executed after the
28 # These are the file generators that should only be executed after the
29 # finalizers are done, since they rely on the output of the finalizers (like
29 # finalizers are done, since they rely on the output of the finalizers (like
30 # the changelog having been written).
30 # the changelog having been written).
31 postfinalizegenerators = {b'bookmarks', b'dirstate'}
31 postfinalizegenerators = {
32 b'bookmarks',
33 b'dirstate-1-main',
34 }
32
35
33 GEN_GROUP_ALL = b'all'
36 GEN_GROUP_ALL = b'all'
34 GEN_GROUP_PRE_FINALIZE = b'prefinalize'
37 GEN_GROUP_PRE_FINALIZE = b'prefinalize'
General Comments 0
You need to be logged in to leave comments. Login now