From: Zhang Qiang Date: Tue, 7 Aug 2012 07:44:42 +0000 (+0800) Subject: dont need check local branch name in changelog module X-Git-Tag: 0.9~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57d465bbb1292df3ea94e66039766ffadb4f9b47;p=tools%2Fgbs.git dont need check local branch name in changelog module gbs changelog is just used to generate changelog, so it should work on any branch. --- diff --git a/gitbuildsys/cmd_changelog.py b/gitbuildsys/cmd_changelog.py index 178087e..b7e8621 100644 --- a/gitbuildsys/cmd_changelog.py +++ b/gitbuildsys/cmd_changelog.py @@ -87,8 +87,6 @@ def do(opts, _args): try: repo = RpmGitRepository('.') - if repo.get_branch() is None: - msger.error('currently not on a branch') except GitRepositoryError, err: msger.error(str(err))