From 9741a93a9f5c76827135b43c03b20c0a48f12604 Mon Sep 17 00:00:00 2001 From: Clipperz Date: Wed, 09 Jan 2013 11:45:31 +0000 Subject: Merge latest changes with public repository --- (limited to 'scripts') diff --git a/scripts/builder/repository.py b/scripts/builder/repository.py index 7ac2324..7a44e47 100644 --- a/scripts/builder/repository.py +++ b/scripts/builder/repository.py @@ -13,7 +13,6 @@ def repositoryWithPath (path): 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 @@ -89,9 +88,12 @@ class HgRepository(Repository): #=================================================================== + class SnapshotRepository(Repository): + def revision (self): return 'SNAPSHOT' + def areTherePendingChanges (self): return False -- cgit v0.9.0.2