--- a/hgext/convert/monotone.py Wed Mar 23 14:26:56 2011 -0400
+++ b/hgext/convert/monotone.py Fri Mar 25 10:13:46 2011 -0400
@@ -20,6 +20,7 @@
self.ui = ui
self.path = path
self.automatestdio = False
+ self.rev = rev
norepo = NoRepo(_("%s does not look like a monotone repository")
% path)
@@ -65,14 +66,6 @@
checktool('mtn', abort=False)
- # test if there are any revisions
- self.rev = None
- try:
- self.getheads()
- except:
- raise norepo
- self.rev = rev
-
def mtnrun(self, *args, **kwargs):
if self.automatestdio:
return self.mtnrunstdio(*args, **kwargs)