equal
deleted
inserted
replaced
25 if isinstance(repo, str): |
25 if isinstance(repo, str): |
26 if baseui: |
26 if baseui: |
27 u = baseui.copy() |
27 u = baseui.copy() |
28 else: |
28 else: |
29 u = ui.ui() |
29 u = ui.ui() |
30 u.setconfig('ui', 'report_untrusted', 'off') |
|
31 u.setconfig('ui', 'interactive', 'off') |
|
32 self.repo = hg.repository(u, repo) |
30 self.repo = hg.repository(u, repo) |
33 else: |
31 else: |
34 self.repo = repo |
32 self.repo = repo |
35 |
33 |
|
34 self.repo.ui.setconfig('ui', 'report_untrusted', 'off') |
|
35 self.repo.ui.setconfig('ui', 'interactive', 'off') |
36 hook.redirect(True) |
36 hook.redirect(True) |
37 self.mtime = -1 |
37 self.mtime = -1 |
38 self.reponame = name |
38 self.reponame = name |
39 self.archives = 'zip', 'gz', 'bz2' |
39 self.archives = 'zip', 'gz', 'bz2' |
40 self.stripecount = 1 |
40 self.stripecount = 1 |