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 246076 - Please add feature to see a list of patches or stashes, which are available.
Summary: Please add feature to see a list of patches or stashes, which are available.
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-28 21:31 UTC by Christian Lenz
Modified: 2015-04-08 13:37 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2014-07-28 21:31:55 UTC
At the moment, shelve changes is not in the context menu but its possible to use a shortcut for this. I use it often, but what I would like to have is such function like repo. browser have, where you can see your tags, branches etc. for list changes. An option to see all available changes with a description, so for this you have to create a description, which is not possible yet(?) and some other details. Visual Studio has such list to show shelvesets, where you can choose one to apply it. This feature would be very nice, and the others too.


Regards

Chris
Comment 1 Ondrej Vrabec 2014-12-19 14:23:25 UTC

*** This bug has been marked as a duplicate of bug 249458 ***
Comment 2 Christian Lenz 2015-01-19 10:07:40 UTC
It is not about to have shelve support, it's about the have a new window to see my shelvesets like in Visual Studio: http://juristr.com/blog/assets/imgs/vs2010_unshelve_view.png

And this list is not only available when I say "go unshelve", it's available as a new window, like the Repository browser, git show changes, and so on. I think the other ticket is only to integrate stash functionality.


Regards

Chris
Comment 3 Ondrej Vrabec 2015-01-19 10:14:26 UTC
(In reply to ChrisLE from comment #2)
> It is not about to have shelve support, it's about the have a new window to
> see my shelvesets like in Visual Studio:
> http://juristr.com/blog/assets/imgs/vs2010_unshelve_view.png
> 
> And this list is not only available when I say "go unshelve", it's available
> as a new window, like the Repository browser, git show changes, and so on. I
> think the other ticket is only to integrate stash functionality.

I see. I thought you use shelve changes only as a fallback because git misses stashes.
Comment 4 markiewb 2015-04-03 09:18:04 UTC
New in 8.1: Stashes/Shelves are shown in the repository browser.

http://wiki.netbeans.org/NewAndNoteworthyNB81#Stash_functionality
Comment 5 Christian Lenz 2015-04-08 11:41:34 UTC
To set the ticket to works for me isn't correct in my perspective, if a feature is coming in a new version of an application. Maybe fixed would be better because in the current version, it's not implemented, only in the DEV builds.

But thx for the info.
Comment 6 Ondrej Vrabec 2015-04-08 11:50:59 UTC
(In reply to markiewb from comment #4)
> New in 8.1: Stashes/Shelves are shown in the repository browser.
> 
> http://wiki.netbeans.org/NewAndNoteworthyNB81#Stash_functionality
I am afraid this is not implemented. What's displayed in the repository browser is just git stashes, not shelvesets as the user originaly asked for.
AFAIK the request was to create a view that would display only helved changes (done by Git -> Shelve Changes -> Shelve..., not by Git stash feature).
Comment 7 Christian Lenz 2015-04-08 12:40:04 UTC
The question is, do we need the shelve functionality (What is not a git command, maybe only a IDE command) when we have git stash functionality and stash list view inside the repository browser? Is there a big difference between them?
Comment 8 Ondrej Vrabec 2015-04-08 13:24:51 UTC
(In reply to ChrisLE from comment #7)
> The question is, do we need the shelve functionality (What is not a git
> command, maybe only a IDE command) when we have git stash functionality and
> stash list view inside the repository browser? Is there a big difference
> between them?
Shelve changes is not necessary for git, but they are used also in mercurial or subversion. So i cannot remove them completely. Another difference is that they are sensitive to the selected context, meaning a patch is created only for selected files/folders etc. while git stash works repository-wide. So i don't see them as the same thing.
But if you use only git stashes then you see all the stashed changes in the repository browser right now. So if you're satisfied with using only git stashes then this issue may be closed.
Comment 9 Christian Lenz 2015-04-08 13:36:06 UTC
I think, I'm fine with the git stash functionality and the thing with the repository browser. In my NB 8.0.2 it is not available yet, so I have to wait for the 8.1 and I don't want to try the dev build. But fixed closed would be good for this ticket or invalid, don't know. Only worksforme irritates me, because it's not working inside the stable version. Thx.