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 226046 - Some extra capabilities for the files in "History" listing
Summary: Some extra capabilities for the files in "History" listing
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 07:56 UTC by sundblum
Modified: 2013-02-13 09:03 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 sundblum 2013-02-13 07:56:20 UTC
Overview:
When we open the history listing for file or for a whole project with Mercurial (I suppose for Git too), we can see the files organized by revisions. The context menu for each file gives us Diff, Revert, View, Show annotations and Diff export.

Expected Results:
To have the context menu options for these files like these we have in "Projects". I think mostly Upload will be very useful. This way one can easily upload whole given revision, without need to locate every single file of the revision in the Projects tab.
Comment 1 Ondrej Vrabec 2013-02-13 08:34:56 UTC
Sorry, what is "Upload"? Mercurial or Git have no such action.
Comment 2 sundblum 2013-02-13 08:52:37 UTC
Yes, exactly. Mercurial or Git do not have this option, but the files they are managing have it, in "Projects" window.

Little bit detailed example:
I have a file "a.js" in a project, and I have set a sftp configuration on this project. In the "Projects" window I can "Upload" this file to the project's sftp configuration.
Let's say this file have few different revisions, which I can browse through "Mercurial / History" listing. I want to be able to Upload each one of this file revisions to my sftp configuration, by selection the file revision in the history listing, raising the context menu, and clicking "Upload".

It would also be usable, if you work on a big project, and edit a lots of files. After the work is done, you commit them in a revision. You will want to upload only the edited files on the server, so you select the last revision in the History listing, and give "Upload" on it, so it uploads all the files in this revision. The alternative is to locate every single edited file in the Projects window (With Ctrl+click for example) and upload them after that, but this is annoying..

Thanks
Comment 3 Ondrej Vrabec 2013-02-13 09:03:34 UTC
(In reply to comment #2)
> It would also be usable, if you work on a big project, and edit a lots of
> files. After the work is done, you commit them in a revision. You will want to
> upload only the edited files on the server, so you select the last revision in
> the History listing, and give "Upload" on it, so it uploads all the files in
> this revision. The alternative is to locate every single edited file in the
> Projects window (With Ctrl+click for example) and upload them after that, but
> this is annoying..
PHP support might hook into the commit process itself and probably upload committed files automatically to a server.