[Asterisk-code-review] mkrelease - update branch debug message (repotools[master])

Kevin Harwell asteriskteam at digium.com
Wed Apr 27 14:34:09 CDT 2016


Kevin Harwell has uploaded a new change for review.

  https://gerrit.asterisk.org/2717

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(-)


  git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/17/2717/1

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: newchange
Gerrit-Change-Id: I6f76247c39d23b30244c4911baa3ca831e65c25f
Gerrit-PatchSet: 1
Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>



More information about the asterisk-code-review mailing list