From 5115ce2faf3efdf2bec242d9c37d0524bf341a94 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 6 Mar 2012 10:44:48 -0500 Subject: [PATCH] Check to make sure dulwich is available and print error --- scripts/builder/repository.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/builder/repository.py b/scripts/builder/repository.py index 89db9a5..f3f7d6f 100644 --- a/scripts/builder/repository.py +++ b/scripts/builder/repository.py @@ -8,6 +8,8 @@ def repositoryWithPath (path): repo = Repo(path) result = GitRepository(repo, path) + except ImportError: + print "Failed to import dulwich, please install http://www.samba.org/~jelmer/dulwich/" except: from mercurial import ui, hg