Show More
@@ -112,6 +112,11 b' def update_persistent_nodemap(revlog):' | |||||
112 | To be used for updating the nodemap on disk outside of a normal transaction |
|
112 | To be used for updating the nodemap on disk outside of a normal transaction | |
113 | setup (eg, `debugupdatecache`). |
|
113 | setup (eg, `debugupdatecache`). | |
114 | """ |
|
114 | """ | |
|
115 | if revlog._inline: | |||
|
116 | return # inlined revlog are too small for this to be relevant | |||
|
117 | if revlog.nodemap_file is None: | |||
|
118 | return # we do not use persistent_nodemap on this revlog | |||
|
119 | ||||
115 | notr = _NoTransaction() |
|
120 | notr = _NoTransaction() | |
116 | _persist_nodemap(notr, revlog) |
|
121 | _persist_nodemap(notr, revlog) | |
117 | for k in sorted(notr._postclose): |
|
122 | for k in sorted(notr._postclose): |
General Comments 0
You need to be logged in to leave comments.
Login now