chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88322f5
)
Another correction
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 8 Jan 2012 14:16:42 +0000
(14:16 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 8 Jan 2012 14:16:42 +0000
(14:16 +0000)
common.py
patch
|
blob
|
history
diff --git
a/common.py
b/common.py
index a4bb8fbb755b0bc0fd88ccda3760b377dffca86e..6d3e8e83b0f799a4a44ae446c9a7c74cf801ea40 100644
(file)
--- a/
common.py
+++ b/
common.py
@@
-130,10
+130,10
@@
class vcs_git(vcs):
class vcs_gitsvn(vcs):
def checkrepo(self):
- p = subprocess.Popen(
'git', 'rev-parse', '--show-toplevel'
,
- stdout=subprocess.PIPE)
+ p = subprocess.Popen(
['git', 'rev-parse', '--show-toplevel']
,
+ stdout=subprocess.PIPE
, cwd=self.local
)
result = p.communicate()[0].rstrip()
- if not
self.local.endswith(result
):
+ if not
result.endswith(self.local
):
raise VCSException('Repository mismatch')
def clone(self):