diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2016-07-27 22:07:00 -0400 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-07-27 22:08:34 -0400 |
commit | 491aca2cc4821e8e2c27de909c06125934237d94 (patch) | |
tree | fa04d59b7a0936f08d1070f274047acae710cab9 /git-phab | |
parent | f9d9bd0733d63183bc3b3771426710c733ee401a (diff) |
Enhance printed information about attached commit
Diffstat (limited to 'git-phab')
-rwxr-xr-x | git-phab | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -835,6 +835,7 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri) for diff in diffs: changes.append(self.get_changes_for_diff(diff)) + print("Attaching commit %s... " % commit.hexsha, end="") diff = self.phabricator.differential.creatediff( changes=changes, sourceMachine=socket.gethostname(), @@ -850,6 +851,7 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri) repositoryUUID="", branch=self.branch_name, repositoryPHID=self.phab_repo["phid"]) + print("%s OK%s" % (Colors.OKGREEN, Colors.ENDC)) return diff @@ -925,7 +927,6 @@ Paste API Token from that page and press <enter>: """ % self.phabricator_uri) diff = self.create_diff(commit, linter_status) phab = self.phabricator - print("attach " + commit.hexsha) subject, body, fields, updates = self.parse_commit_msg(commit.message) try: |