[asterisk-commits] mkrelease - update branch debug message (repotools[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 28 05:27:25 CDT 2016


Joshua Colp has submitted this change and it was merged.

Change subject: mkrelease - update branch debug message
......................................................................


mkrelease - update branch debug message

A debug statement would print out that a specified branch did not exist. This
patch now describes it as a local branch.

Change-Id: I6f76247c39d23b30244c4911baa3ca831e65c25f
---
M mkrelease.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, approved; Verified



diff --git a/mkrelease.py b/mkrelease.py
index f2a17fd..d9a9799 100755
--- a/mkrelease.py
+++ b/mkrelease.py
@@ -159,9 +159,9 @@
         mainline = 'master'
 
     if repo.branch_exists(branch):
-        LOGGER.debug("Branch {0} exists already".format(branch))
+        LOGGER.debug("Local branch {0} exists already".format(branch))
     else:
-        LOGGER.debug("Branch {0} does not exist".format(branch))
+        LOGGER.debug("Local branch {0} does not exist".format(branch))
         prompt_to_continue()
         # Switch to the mainline branch first that way the new release
         # branch is created off of that

-- 
To view, visit https://gerrit.asterisk.org/2717
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6f76247c39d23b30244c4911baa3ca831e65c25f
Gerrit-PatchSet: 1
Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-commits mailing list