patchupdate.py: Track the stable branch of Wine.

This commit is contained in:
Sebastian Lackner 2016-03-27 04:06:01 +02:00
parent 8a378ee8e7
commit 15f62469af

View File

@ -177,7 +177,7 @@ def _latest_wine_commit(commit=None):
if not os.path.isdir(config.path_wine):
raise PatchUpdaterError("Please create a symlink to the wine repository in %s" % config.path_wine)
if commit is None:
commit = subprocess.check_output(["git", "rev-parse", "origin/master"], cwd=config.path_wine).strip()
commit = subprocess.check_output(["git", "rev-parse", "origin/stable"], cwd=config.path_wine).strip()
assert len(commit) == 40 and commit == commit.lower()
return commit