1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-24 17:27:35 +02:00

Merge branch 'master' of github.com:clipperz/password-manager

Conflicts:
	frontend/beta/css/yui-extensions/basic-dialog.css
This commit is contained in:
Clipperz
2013-01-09 12:24:13 +01:00
4 changed files with 25 additions and 4 deletions

View File

@@ -11,12 +11,14 @@ def repositoryWithPath (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
except:
result = SnapshotRepository('', path)
return result
@@ -86,3 +88,10 @@ class HgRepository(Repository):
#===================================================================
class SnapshotRepository(Repository):
def revision (self):
return 'SNAPSHOT'
def areTherePendingChanges (self):
return False