Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.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 | 88a47cbf063c |
children | 96ca817ec192 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Oct 15 15:57:36 2020 +0200 +++ b/mercurial/localrepo.py Wed Oct 14 17:46:28 2020 +0200 @@ -31,6 +31,7 @@ bookmarks, branchmap, bundle2, + bundlecaches, changegroup, color, commit, @@ -299,7 +300,7 @@ return self._caps def clonebundles(self): - return self._repo.tryread(b'clonebundles.manifest') + return self._repo.tryread(bundlecaches.CB_MANIFEST_FILE) def debugwireargs(self, one, two, three=None, four=None, five=None): """Used to test argument passing over the wire"""