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 257024 - Remote Git Show Outgoing fails
Summary: Remote Git Show Outgoing fails
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote VCS (show other bugs)
Version: 8.2
Hardware: PC All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-07 15:42 UTC by Alexander Pepin
Modified: 2016-02-02 14:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2015-12-07 15:42:12 UTC
Steps to reproduce:
- clone a project from git repository on the remote host
- open just cloned full remote project
- make some changes in the project and save the changed files
- commit the changes
- call "Remote Git -> Remote -> Show Outgoing" to view changes which are going to be pushed to the repository
Result: "Git Command Filed" window appears with the message: 
#git --no-pager log --raw --pretty=raw -m origin/master^..master -10
fatal: ambiguous argument 'origin/master^..master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Comment 1 Alexander Simon 2015-12-07 17:38:19 UTC
fixed in enum, change set:
304944:85878ac21c39
Comment 2 Alexander Pepin 2015-12-07 17:46:07 UTC
It looks like '^' (exclude revision) is wrong operation in that case. If a user wants to see outgoing changes then the range parameters should be:
 last_pushed_revision..HEAD
or in this case:
 origin/master..master
Comment 3 Quality Engineering 2015-12-09 02:29:51 UTC
Integrated into 'main-silver', will be available in build *201512090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ac8915ec107c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #257024 Remote Git Show Outgoing fails
(transplanted from 85878ac21c39ec440ef7bf8c2278b7748907a5f4)
Comment 4 Alexander Pepin 2016-02-02 14:33:34 UTC
Verified in build 20160130.