Show More
@@ -112,6 +112,11 def update_persistent_nodemap(revlog): | |||
|
112 | 112 | To be used for updating the nodemap on disk outside of a normal transaction |
|
113 | 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 | 120 | notr = _NoTransaction() |
|
116 | 121 | _persist_nodemap(notr, revlog) |
|
117 | 122 | for k in sorted(notr._postclose): |
General Comments 0
You need to be logged in to leave comments.
Login now