--- a/hgext/remotefilelog/debugcommands.py Tue Oct 16 17:30:47 2018 -0400
+++ b/hgext/remotefilelog/debugcommands.py Tue Oct 16 17:02:48 2018 -0400
@@ -24,7 +24,6 @@
fileserverclient,
historypack,
repack,
- shallowrepo,
shallowutil,
)
@@ -93,7 +92,7 @@
if (opts.get('changelog') or
opts.get('manifest') or
opts.get('dir') or
- not shallowrepo.requirement in repo.requirements or
+ not constants.SHALLOWREPO_REQUIREMENT in repo.requirements or
not repo.shallowmatch(file_)):
return orig(ui, repo, file_, **opts)
@@ -140,7 +139,7 @@
def debugindexdot(orig, ui, repo, file_):
"""dump an index DAG as a graphviz dot file"""
- if not shallowrepo.requirement in repo.requirements:
+ if not constants.SHALLOWREPO_REQUIREMENT in repo.requirements:
return orig(ui, repo, file_)
r = buildtemprevlog(repo, os.path.basename(file_)[:-2])