Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17246


Change subject: Only fetch needed branches in compare_branches.py
......................................................................

Only fetch needed branches in compare_branches.py

Fetching all branches of a remote repo will be time-consuming. This
changes compare_branches.py to only fetch the needed branches, i.e.
source_branch and target_branch.

Tests:
 - Before this change, it can't finish in 30 mins when comparing two
   downstream branches. After this change, it finishes in one minute.

Change-Id: Ia0c70ad4de1fa79498ca32853b6ea99aee2d40a7
---
M bin/compare_branches.py
1 file changed, 6 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/46/17246/1
--
To view, visit http://gerrit.cloudera.org:8080/17246
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0c70ad4de1fa79498ca32853b6ea99aee2d40a7
Gerrit-Change-Number: 17246
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to