-rw-r--r-- | scripts/builder/repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/builder/repository.py b/scripts/builder/repository.py index 0efa10b..f8528c2 100644 --- a/scripts/builder/repository.py +++ b/scripts/builder/repository.py | |||
@@ -7,13 +7,13 @@ def repositoryWithPath (path): | |||
7 | from git import Repo | 7 | from git import Repo |
8 | 8 | ||
9 | repo = Repo(path) | 9 | repo = Repo(path) |
10 | result = GitRepository(repo, path) | 10 | result = GitRepository(repo, path) |
11 | except ImportError: | 11 | except ImportError: |
12 | print "Failed to import git, please install http://gitorious.org/git-python" | 12 | print "Failed to import git, please install http://gitorious.org/git-python" |
13 | except: | 13 | #except: |
14 | from mercurial import ui, hg | 14 | from mercurial import ui, hg |
15 | 15 | ||
16 | repo = hg.repository(ui.ui(), path) | 16 | repo = hg.repository(ui.ui(), path) |
17 | result = HgRepository(repo, path) | 17 | result = HgRepository(repo, path) |
18 | 18 | ||
19 | return result | 19 | return result |