This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 234391

Summary: API for setting an upstream branch
Product: versioncontrol Reporter: Ondrej Vrabec <ovrabec>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED FIXED    
Severity: normal CC: apireviews, DaveE
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 231996    
Attachments: api change
api client and usage

Description Ondrej Vrabec 2013-08-14 13:39:50 UTC
Git client should allow setting an upstream branch. This is required to allow scenario:
1) create a local branch
2) push the branch to a remote repository
3) push to upstream - without the API this will fail
Comment 1 Ondrej Vrabec 2013-08-14 14:05:15 UTC
kindly asking for an API review
Comment 2 Ondrej Vrabec 2013-08-14 14:06:01 UTC
Created attachment 138692 [details]
api change
Comment 3 Ondrej Vrabec 2013-08-14 14:07:09 UTC
Created attachment 138693 [details]
api client and usage
Comment 4 Ondrej Vrabec 2013-08-21 12:11:45 UTC
i will integrate tomorrow if there are no comments
Comment 5 Ondrej Vrabec 2013-08-22 10:48:18 UTC
fix: http://hg.netbeans.org/core-main/rev/099c1e782d1b