Mercurial > hg
comparison mercurial/bundlecaches.py @ 45785:80f32ec8653a
clonebundle: move the manifest filename to a constant
I am about to add more reference to it, so I would rather have it an explicit
constant. This allow to unify various call too.
Differential Revision: https://phab.mercurial-scm.org/D9209
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 14 Oct 2020 17:46:28 +0200 |
parents | 74271829ddc0 |
children | f4c325bf80fc |
comparison
equal
deleted
inserted
replaced
45784:74271829ddc0 | 45785:80f32ec8653a |
---|---|
13 util, | 13 util, |
14 ) | 14 ) |
15 from .utils import stringutil | 15 from .utils import stringutil |
16 | 16 |
17 urlreq = util.urlreq | 17 urlreq = util.urlreq |
18 | |
19 CB_MANIFEST_FILE = b'clonebundles.manifest' | |
18 | 20 |
19 | 21 |
20 @attr.s | 22 @attr.s |
21 class bundlespec(object): | 23 class bundlespec(object): |
22 compression = attr.ib() | 24 compression = attr.ib() |