summaryrefslogtreecommitdiff
path: root/exporters
diff options
context:
space:
mode:
authorMatt McClure <mlm@aya.yale.edu>2009-08-16 20:15:12 -0400
committerMatt McClure <mlm@aya.yale.edu>2009-08-16 20:15:12 -0400
commit26c2846de4d54dc019543f1a4eb7404df1c3fb02 (patch)
tree673332785e5532e112a242c3ccd4e08621c92d5b /exporters
parent1a25cf0b400e14055972a1a6a988d639036dc29a (diff)
downloadbzr-fastimport-26c2846de4d54dc019543f1a4eb7404df1c3fb02.tar.gz
Verify the presence of the p4 command-line tool and the Perforce Python
API.
Diffstat (limited to 'exporters')
-rw-r--r--exporters/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/exporters/__init__.py b/exporters/__init__.py
index 9eaf26b..85bacde 100644
--- a/exporters/__init__.py
+++ b/exporters/__init__.py
@@ -261,6 +261,8 @@ class MonotoneExporter(_Exporter):
class PerforceExporter(_Exporter):
def __init__(self):
+ self.check_install('p4', '2009.1', ['p4'])
+ self.check_install('Perforce Python API', '2009.1', None, ['P4'])
self.check_install('bzrp4', '', None, ['bzrlib.plugins.bzrp4'])
def generate(self, source, destination, verbose=False, custom=None):