summaryrefslogtreecommitdiff
path: root/scripts
authorClipperz <info@clipperz.com>2013-01-09 11:24:13 (UTC)
committer Clipperz <info@clipperz.com>2013-01-09 11:24:13 (UTC)
commit6cfcbb8deeb99b0b88f5ce3b34a5c9aa1877dc57 (patch) (side-by-side diff)
treeae7ed58da6d0f4ce64b7ae4a4ba3f7b1519471d3 /scripts
parentf6903b9a5670370ef742a02092ab72e4227ddcd9 (diff)
parent0db1d5c8b18eadc4bd9cfc6603e86227fa94b5a9 (diff)
downloadclipperz-6cfcbb8deeb99b0b88f5ce3b34a5c9aa1877dc57.zip
clipperz-6cfcbb8deeb99b0b88f5ce3b34a5c9aa1877dc57.tar.gz
clipperz-6cfcbb8deeb99b0b88f5ce3b34a5c9aa1877dc57.tar.bz2
Merge branch 'master' of github.com:clipperz/password-manager
Conflicts: frontend/beta/css/yui-extensions/basic-dialog.css
Diffstat (limited to 'scripts') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/builder/repository.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/builder/repository.py b/scripts/builder/repository.py
index a47e249..7ac2324 100644
--- a/scripts/builder/repository.py
+++ b/scripts/builder/repository.py
@@ -13,5 +13,5 @@ def repositoryWithPath (path):
from git import Repo
-
repo = Repo(path)
result = GitRepository(repo, path)
+
except ImportError, exception:
@@ -19,2 +19,4 @@ def repositoryWithPath (path):
raise exception
+ except:
+ result = SnapshotRepository('', path)
@@ -88 +90,8 @@ class HgRepository(Repository):
#===================================================================
+
+class SnapshotRepository(Repository):
+ def revision (self):
+ return 'SNAPSHOT'
+
+ def areTherePendingChanges (self):
+ return False