equal
deleted
inserted
replaced
114 name = k[len(b'x-hg-') :] |
114 name = k[len(b'x-hg-') :] |
115 hgmeta[name] = p[k] |
115 hgmeta[name] = p[k] |
116 if hgmeta or text.startswith(b'\1\n'): |
116 if hgmeta or text.startswith(b'\1\n'): |
117 text = storageutil.packmeta(hgmeta, text) |
117 text = storageutil.packmeta(hgmeta, text) |
118 |
118 |
119 return (text, True, {}) |
119 return (text, True) |
120 |
120 |
121 |
121 |
122 def writetostore(self, text, sidedata): |
122 def writetostore(self, text): |
123 # hg filelog metadata (includes rename, etc) |
123 # hg filelog metadata (includes rename, etc) |
124 hgmeta, offset = storageutil.parsemeta(text) |
124 hgmeta, offset = storageutil.parsemeta(text) |
125 if offset and offset > 0: |
125 if offset and offset > 0: |
126 # lfs blob does not contain hg filelog metadata |
126 # lfs blob does not contain hg filelog metadata |
127 text = text[offset:] |
127 text = text[offset:] |