Show More
@@ -7,6 +7,7 b' import zlib' | |||||
7 |
|
7 | |||
8 | from mercurial import ( |
|
8 | from mercurial import ( | |
9 | changegroup, |
|
9 | changegroup, | |
|
10 | exchange, | |||
10 | extensions, |
|
11 | extensions, | |
11 | filelog, |
|
12 | filelog, | |
12 | revlog, |
|
13 | revlog, | |
@@ -103,6 +104,10 b' def extsetup(ui):' | |||||
103 | revlog.REVIDX_KNOWN_FLAGS |= util.bitsfrom(flags) |
|
104 | revlog.REVIDX_KNOWN_FLAGS |= util.bitsfrom(flags) | |
104 | revlog.REVIDX_FLAGS_ORDER.extend(flags) |
|
105 | revlog.REVIDX_FLAGS_ORDER.extend(flags) | |
105 |
|
106 | |||
|
107 | # Teach exchange to use changegroup 3 | |||
|
108 | for k in exchange._bundlespeccgversions.keys(): | |||
|
109 | exchange._bundlespeccgversions[k] = '03' | |||
|
110 | ||||
106 | # Add wrappers for addrevision, responsible to set flags depending on the |
|
111 | # Add wrappers for addrevision, responsible to set flags depending on the | |
107 | # revision data contents. |
|
112 | # revision data contents. | |
108 | wrapfunction(filelog.filelog, 'addrevision', noopaddrevision) |
|
113 | wrapfunction(filelog.filelog, 'addrevision', noopaddrevision) |
General Comments 0
You need to be logged in to leave comments.
Login now