equal
deleted
inserted
replaced
61 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
61 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
62 # be specifying the version(s) of Mercurial they are tested with, or |
62 # be specifying the version(s) of Mercurial they are tested with, or |
63 # leave the attribute unspecified. |
63 # leave the attribute unspecified. |
64 testedwith = 'ships-with-hg-core' |
64 testedwith = 'ships-with-hg-core' |
65 |
65 |
66 _partre = re.compile(r'\{(\d+)\}'.encode(u'latin1')) |
66 _partre = re.compile(br'\{(\d+)\}') |
67 |
67 |
68 class ShortRepository(object): |
68 class ShortRepository(object): |
69 def __init__(self, url, scheme, templater): |
69 def __init__(self, url, scheme, templater): |
70 self.scheme = scheme |
70 self.scheme = scheme |
71 self.templater = templater |
71 self.templater = templater |