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

Kevin Harwell asteriskteam at digium.com
Tue Feb 19 18:09:49 CST 2019


Kevin Harwell has submitted this change and it was merged. ( 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(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved; Approved for Submit



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: merged
Gerrit-Change-Id: Ia2e20b7f8924a11991277aa5ca84bc52f77e9896
Gerrit-Change-Number: 10990
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua C. Colp <jcolp at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190219/95c4221e/attachment.html>


More information about the asterisk-code-review mailing list