1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 17:00:12 +01:00

Better git reset

This commit is contained in:
Ciaran Gultnieks 2011-12-20 14:42:00 +00:00
parent 8a887483c7
commit cff8228b44
3 changed files with 6 additions and 3 deletions

View File

@ -91,7 +91,7 @@ class vcs_git(vcs):
def reset(self, rev=None): def reset(self, rev=None):
if rev is None: if rev is None:
rev = 'HEAD' rev = 'origin'
if subprocess.call(['git', 'reset', '--hard', rev], if subprocess.call(['git', 'reset', '--hard', rev],
cwd=self.local) != 0: cwd=self.local) != 0:
print "Git reset failed" print "Git reset failed"

View File

@ -20,6 +20,7 @@ Build Version:0.6.7,37,v0.6.7,subdir=OsmAnd,encoding=utf-8,prebuild=mkdir raw,pa
Build Version:0.6.8,39,v0.6.8,subdir=OsmAnd,encoding=utf-8,prebuild=mkdir raw Build Version:0.6.8,39,v0.6.8,subdir=OsmAnd,encoding=utf-8,prebuild=mkdir raw
Build Version:0.6.8',41,!No corresponding source for whatever this is Build Version:0.6.8',41,!No corresponding source for whatever this is
Build Version:0.6.9,42,v0.6.9,subdir=OsmAnd,encoding=utf-8,prebuild=mkdir raw Build Version:0.6.9,42,v0.6.9,subdir=OsmAnd,encoding=utf-8,prebuild=mkdir raw
Build Version:0.6.9',43,!No corresponding source for whatever this is
Market Version:0.6.9 Market Version:0.6.9'
Market Version Code:42 Market Version Code:43

View File

@ -15,3 +15,5 @@ Repo:http://tuiodroid.googlecode.com/svn/trunk/
Build Version:1.0,4,28,subdir=TUIOdroid,prebuild=rm -rf bin && rm -rf gen,target=android-11 Build Version:1.0,4,28,subdir=TUIOdroid,prebuild=rm -rf bin && rm -rf gen,target=android-11
Market Version:1.0
Market Version Code:4