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 197313 - "Diff to previous Revision" from annotations not working
Summary: "Diff to previous Revision" from annotations not working
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-01 08:58 UTC by lallafa
Modified: 2011-04-05 08:38 UTC (History)
1 user (show)

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 lallafa 2011-04-01 08:58:02 UTC
Steps to reproduce:

 - open source file under SVN version control
 - Team > Show Annotations
 - right click revision in annotation
 - select "Diff to previous Revision" 
 - graphical view off diff is empty (when it should not)
 - textual view of diff just shows empty diff  (when it should not):

# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- 12113
+++ 12114

Showing the diff using "Search History ..." works fine:

# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- 12113
+++ 12114
@@ -1,5 +1,6 @@
 package nionexa;
 
+import com.nionex.ops.bean.BeanUtil;
 import com.nionex.ops.bean.request.DocumentRequestBean;
 import com.nionex.ops.callback.PageCallback;
 import com.nionex.ops.callback.PreparablePageCallbackHandler;
@@ -1073,6 +1074,9 @@
         }
 
         try {
+            // immer aufrufen, um Besuchsplanung zu initialisieren
+            BeanUtil.getBean(FragmentAktivitaeten.class).initPlaner(planer);
+
             //Zieladresse Langtext aus Kresetabelle ermitteln
             String zieladresseOrt = KreiseService.getKreiseOrt(HibernateUtil.getCurrentSession(), planer.getVmPkreis(), planer.getVmPland());
             input_ZieladresseOrt.setValue(zieladresseOrt);



Product Version = NetBeans IDE 7.0 RC1 (Build 201103280000)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_21
Runtime = Java HotSpot(TM) Client VM 17.0-b16
Comment 1 Ondrej Vrabec 2011-04-04 08:01:02 UTC
Does it work for other files? Was the file refactored/renmed in the past?
Comment 2 lallafa 2011-04-04 08:18:08 UTC
it does not work for files, which have been renamed/moved in the past.
Comment 3 Ondrej Vrabec 2011-04-04 11:46:24 UTC
fix: http://hg.netbeans.org/core-main/rev/e0c27cace16e
Comment 4 Quality Engineering 2011-04-05 08:38:38 UTC
Integrated into 'main-golden', will be available in build *201104050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e0c27cace16e
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #197313 - "Diff to previous Revision" from annotations not working