mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Better git reset
This commit is contained in:
parent
8a887483c7
commit
cff8228b44
3 changed files with 6 additions and 3 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue