summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Barisione <marco@barisione.org>2010-03-24 18:43:41 (GMT)
committerMarco Barisione <marco@barisione.org>2010-03-24 18:43:41 (GMT)
commit0522ae49d584b107a5592c8a2121425ed9ddc04b (patch)
treed1fa658454b89092353f4740ffc8c0c2d4a3a9f8
parent351fcc9890b912843e1dd203e5dbbdf1ef37a017 (diff)
downloadmaemo-release-0522ae49d584b107a5592c8a2121425ed9ddc04b.tar.gz
maemo-release-0522ae49d584b107a5592c8a2121425ed9ddc04b.tar.xz
Use the current branch
-rwxr-xr-xmaemo-release.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/maemo-release.py b/maemo-release.py
index af314c1..c5b5001 100755
--- a/maemo-release.py
+++ b/maemo-release.py
@@ -187,7 +187,7 @@ def main(latest_release_id):
# max_count is used to make this work faster, if you have more than
# 100 unreleaed commits in a maemo package you are probably doing
# it wrong...
- log = repo.log(max_count=100)
+ log = repo.log(repo.active_branch, max_count=100)
if latest_release_id:
latest_release_index = find_index_from_id (log, latest_release_id)