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 103664 - Ability to create a textual diff
Summary: Ability to create a textual diff
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: USABILITY
: 158909 (view as bug list)
Depends on: 181209
Blocks:
  Show dependency tree
 
Reported: 2007-05-10 16:32 UTC by Petr Jiricka
Modified: 2010-03-08 11:25 UTC (History)
2 users (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 Petr Jiricka 2007-05-10 16:32:55 UTC
There does not seem to be the ability to create a textual diff of CVS changes
(preferably in the -u format). Please make this possible within NetBeans. Thanks.
Comment 1 Petr Jiricka 2008-02-04 14:46:34 UTC
Any input on this? Textual diff is very useful for the following usability reason: when I want to review a small change,
textual diff has a very short output that can be reviewed very fast. On the other hand, the graphical diff presents me
with a UI that contains a very long file (potentially), of which only a small part is relevant for my taks (review the
diff). It forces me to look at (and scroll through) a lot of text that is irrelevant at the moment.
 
Comment 2 akochnev 2008-02-27 21:14:11 UTC
Actually, this is an issue across all Diff views : the graphical diff window is extremely nice to compare the contents
of two files, but there is no good way to export that diff as a text file. It seems that the graphical diff window
already has all necessary information to produce the text diff file; however, there doesn't to be a button in it that
allows saving that file to disk. 
Comment 3 Tomas Stupka 2009-11-30 06:52:27 UTC
*** Bug 158909 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Glick 2010-02-25 08:29:25 UTC
Would be nice, but only if the textual diff were created directly from the VCS; the IDE's owns diffs are not trustworthy. For example, if I rename a Hg-controlled file, the IDE correctly records the rename, but the graphical diff viewer just shows a delete and an add. To really review this I need to run 'hg diff' from the command line (my ~/.hgrc specifies '[diff] git=1' so renames are displayed correctly).
Comment 5 Tomas Stupka 2010-02-25 12:17:40 UTC
> Would be nice, but only if the textual diff were created directly from the VCS covered in #169288
Comment 6 Ondrej Vrabec 2010-02-26 05:34:42 UTC
partial fix: http://hg.netbeans.org/cdev/rev/2c31ebb7e200
Export diff action added into the popup on files in the diff view
Comment 7 Quality Engineering 2010-02-26 23:04:45 UTC
Integrated into 'main-golden', will be available in build *201002270200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2c31ebb7e200
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #103664 - Ability to create a textual diff
export diff action to diff popup
Comment 8 Ondrej Vrabec 2010-03-04 08:39:32 UTC
fix: http://hg.netbeans.org/cdev/rev/9046bc72bad8
Comment 9 Quality Engineering 2010-03-08 11:25:57 UTC
Integrated into 'main-golden', will be available in build *201003081350* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9046bc72bad8
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #103664 - Ability to create a textual diff