[Asterisk-code-review] digium git: Push updated branch on add/commit. (repotools[master])

Joshua C. Colp asteriskteam at digium.com
Tue Feb 12 05:05:55 CST 2019


Joshua C. Colp has uploaded this change for review. ( https://gerrit.asterisk.org/10990


Change subject: digium_git: Push updated branch on add/commit.
......................................................................

digium_git: Push updated branch on add/commit.

When an add/commit happens on a branch ensure it is marked
as being needed to be pushed up to origin.

Change-Id: Ia2e20b7f8924a11991277aa5ca84bc52f77e9896
---
M digium_git.py
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/90/10990/1

diff --git a/digium_git.py b/digium_git.py
index 0512642..2ad1af8 100644
--- a/digium_git.py
+++ b/digium_git.py
@@ -531,6 +531,7 @@
 
         self.repo.index.add(files)
         self.repo.index.commit(commit_msg)
+        self.updated_branches.append(self.current_branch)
 
     def push_changes(self):
         """Push any changes (branches, tags, etc...) upstream"""

-- 
To view, visit https://gerrit.asterisk.org/10990
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia2e20b7f8924a11991277aa5ca84bc52f77e9896
Gerrit-Change-Number: 10990
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua C. Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190212/ed6bf0cc/attachment.html>


More information about the asterisk-code-review mailing list