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:
b20a730
)
With git, fetch tags, they might not be on the current (or any) branch
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 8 Dec 2011 14:44:48 +0000
(14:44 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 8 Dec 2011 14:44:48 +0000
(14:44 +0000)
common.py
patch
|
blob
|
history
diff --git
a/common.py
b/common.py
index 46e05114f700e349f248e2f8ca256c3f0ee594c3..148a383b4e26b4ad68194cb12c7716e422918904 100644
(file)
--- a/
common.py
+++ b/
common.py
@@
-106,6
+106,11
@@
class vcs_git(vcs):
cwd=self.local) != 0:
print "Git pull failed"
sys.exit(1)
+ # Might need tags that aren't on a branch.
+ if subprocess.call(['git', 'fetch', '--tags', 'origin'],
+ cwd=self.local) != 0:
+ print "Git fetch failed"
+ sys.exit(1)
def initsubmodules(self):
if subprocess.call(['git', 'submodule', 'init'],