mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
treemanifest: clarify comment in prefetchtrees
Summary: Was reading this code and found this comment difficult to parse at first; improved wording. Reviewed By: quark-zju Differential Revision: D9322553 fbshipit-source-id: d023337668355e3e424e655fa62a4c1ebd37ca69
This commit is contained in:
parent
fae5eb92e5
commit
1ed85aed12
@ -364,10 +364,10 @@ def wraprepo(repo):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if self.svfs.treemanifestserver:
|
if self.svfs.treemanifestserver:
|
||||||
# The server has no where to fetch from, so this is an error and
|
# The server has nowhere to fetch from, so this is an error and
|
||||||
# we should throw. This can legitametly happen during the tree
|
# we should throw. This can legitimately happen during the tree
|
||||||
# transition if the server has trees for all its commits but it
|
# transition if the server has trees for all of its commits but
|
||||||
# has to server an infinitepush bundle does not have trees.
|
# it has to serve an infinitepush bundle that doesn't have trees.
|
||||||
raise shallowutil.MissingNodesError(
|
raise shallowutil.MissingNodesError(
|
||||||
(("", n) for n in mfnodes), "tree nodes missing on server"
|
(("", n) for n in mfnodes), "tree nodes missing on server"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user