-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 @@ -1,25 +1,25 @@ #!/usr/bin/env python # -*- coding: UTF-8 -*- def repositoryWithPath (path): try: from git import Repo repo = Repo(path) result = GitRepository(repo, path) except ImportError: print "Failed to import git, please install http://gitorious.org/git-python" - except: +# except: from mercurial import ui, hg repo = hg.repository(ui.ui(), path) result = HgRepository(repo, path) return result #=================================================================== class Repository(object): |