Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.1 on 2022-01-26 at 16:00 UTC+1 (a few minutes of down time)

Commit 60a1ce79 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Mercurial native: introspect at Project level

For the very few tests that need to make a difference, it's
best not to assume we will use a global flag available on
the Heptapod project forever. It could very well depend on
the given project.
parent e159d11ed509
......@@ -160,6 +160,12 @@ class Project(object):
assert resp.status_code < 400
return resp.json().get(key)
@property
def hg_native(self):
# TODO simple placeholder for now. Later on we can
# set it at creation / search time
return self.heptapod.hg_native
@property
def owner_credentials(self):
"""Return (user, password)."""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment