Review Board 1.7.22


SQOOP-1095 Sqoop2: PreCommit Hook have incorrect branch name

Review Request #12059 - Created June 24, 2013 and submitted

Jarek Cecho
SQOOP-1095
Reviewers
Sqoop
sqoop-sqoop2
Fixed the branch name from "sqoop" to "sqoop2".

 

Diff revision 1 (Latest)

  1. dev-support/test-patch.py: Loading...
dev-support/test-patch.py
Revision 27dbcad39fe09d4f0944665e77be26861419d422 New Change
[20] 42 lines
[+20] [+] def sqoop_guess_branch(versions):
43

    
   
43

   
44
  for v in versions:
44
  for v in versions:
45
    tmp_branch = None
45
    tmp_branch = None
46

    
   
46

   
47
    if v.startswith("1.99") or v.startswith("2.0"):
47
    if v.startswith("1.99") or v.startswith("2.0"):
48
      tmp_branch = "sqoop"
48
      tmp_branch = "sqoop2"
49
    else:
49
    else:
50
      tmp_branch = "trunk"
50
      tmp_branch = "trunk"
51

    
   
51

   
52
    if not branch:
52
    if not branch:
53
      branch = tmp_branch
53
      branch = tmp_branch
[+20] [20] 347 lines
  1. dev-support/test-patch.py: Loading...