--- a/candolint/models.py Tue Aug 30 16:45:24 2016 +0800
+++ b/candolint/models.py Wed Aug 31 12:25:36 2016 +0800
return adapters.BitbucketAdapter(self)
elif self.domain == 'github.com':
return adapters.GithubAdapter(self)
- elif self.domain.startswith('hg.'):
+ elif self.domain.startswith('hg.') or 'mercurial' in self.domain:
return adapters.HgwebAdapter(self)
return adapters.HostingAdapter(self)