David Ostrovsky
		
	
	3bd8c9a338
	
	
	Revision API: add cherry pick method
		
			
			This change adds cherry pick function to the Revision API:
  @Inject GerritApi gApi;
  [...]
  Project.NameKey project = ...
  String changeId = ...
  String resvision = ...
  CherryPickInput in = new CherryPickInput();
  in.destination = "foo";
  gApi.projects()
      .name(project.get())
      .branch(in.destination)
      .create(new BranchInput());
  gApi.projects()
      .name(project.get())
      .branch(in.destination)
      .create(new BranchInput());
  ChangeApi cApi = gApi.changes()
      .id(changeId)
      .revision(resvision)
      .cherryPick(in);
  cApi.current()
      .review(approve());
  cApi.current()
      .submit();
Change-Id: Ie291a824720bc1e81c8636773e3a570778383953
		
	
 
		2013-11-20 09:19:43 +01:00
	 
	
	
	
		 ..
	
	
	
		
			
			
			
			
			
			2012-12-02 21:01:28 +09:00
		 
	
		
			
			
			
			
			
			2013-11-20 09:19:43 +01:00
		 
	
		
			
			
			
			
			
			2012-05-10 16:05:45 -07:00
		 
	
		
			
			
			
			
			
			2013-10-16 11:19:29 -07:00