Show More
@@ -20,6 +20,7 b' class monotone_source(converter_source, ' | |||||
20 | self.ui = ui |
|
20 | self.ui = ui | |
21 | self.path = path |
|
21 | self.path = path | |
22 | self.automatestdio = False |
|
22 | self.automatestdio = False | |
|
23 | self.rev = rev | |||
23 |
|
24 | |||
24 | norepo = NoRepo(_("%s does not look like a monotone repository") |
|
25 | norepo = NoRepo(_("%s does not look like a monotone repository") | |
25 | % path) |
|
26 | % path) | |
@@ -65,14 +66,6 b' class monotone_source(converter_source, ' | |||||
65 |
|
66 | |||
66 | checktool('mtn', abort=False) |
|
67 | checktool('mtn', abort=False) | |
67 |
|
68 | |||
68 | # test if there are any revisions |
|
|||
69 | self.rev = None |
|
|||
70 | try: |
|
|||
71 | self.getheads() |
|
|||
72 | except: |
|
|||
73 | raise norepo |
|
|||
74 | self.rev = rev |
|
|||
75 |
|
||||
76 | def mtnrun(self, *args, **kwargs): |
|
69 | def mtnrun(self, *args, **kwargs): | |
77 | if self.automatestdio: |
|
70 | if self.automatestdio: | |
78 | return self.mtnrunstdio(*args, **kwargs) |
|
71 | return self.mtnrunstdio(*args, **kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now