-rw-r--r-- | scripts/builder/repository.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/builder/repository.py b/scripts/builder/repository.py index 7a44e47..2d4a12b 100644 --- a/scripts/builder/repository.py +++ b/scripts/builder/repository.py @@ -10,17 +10,18 @@ def repositoryWithPath (path): result = HgRepository(repo, path) except: try: from git import Repo repo = Repo(path) result = GitRepository(repo, path) except ImportError, exception: print "Failed to import git, please install http://gitorious.org/git-python" - raise exception + print "Use sudo apt-get install python-git for Ubuntu/Debian" + print "Use sudo yum install GitPython for Fedora/RHEL/CentOS" except: result = SnapshotRepository('', path) return result #=================================================================== |