mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
3b7beae747
Summary: Adds the initial extension that sets up the ctreemanifest. It currently relies on the fastmanifest extension to hook into all the manifest APIs to construct ctreemanifests. Test Plan: In a future patch, I was able to run 'hg manifests' on a commit and have it return the manifest contents by reading the treemanifest. Reviewers: #fastmanifest, ttung Reviewed By: ttung Subscribers: ttung Differential Revision: https://phabricator.intern.facebook.com/D3755327 Signature: t1:3755327:1472114482:0c5862cba68ed4db643d28c2fae01f33f5352970
10 lines
151 B
Python
10 lines
151 B
Python
import struct
|
|
|
|
FILENAMESTRUCT = '!H'
|
|
FILENAMESIZE = struct.calcsize(FILENAMESTRUCT)
|
|
|
|
NODESIZE = 20
|
|
PACKREQUESTCOUNTSTRUCT = '!I'
|
|
|
|
FILEPACK_CATEGORY=""
|