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 26353

Summary: PVCS: Wrong line numbers in diff result.
Product: obsolete Reporter: Jiri Kovalsky <jkovalsky>
Component: vcscoreAssignee: issues@obsolete <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Attachments: Original version of XML file.
Modified version of XML file.
And this is the wrong result.

Description Jiri Kovalsky 2002-08-07 17:13:23 UTC
Sun ONE Studio 4 update 1, Community Edition build
#020802
Solaris 5.8 with JDK 1.4.1 RC build #18

Description:
============
Diff result of certain versions of a file is
sometimes displayed incorrectly if PVCS profile is
used. Assigned line numbers do not correspond to
its real lines. I am attaching those two versions
and the result. It may confuse users.

Steps to reproduce:
===================
1. Mount PVCS filesystem and create a file
containing the first attachment of this bug.
2. Add it into PVCS archive and modify the file
with the second attachment of this bug.
3. Invoke "PVCS|Diff" on your [Locally Modified] file.
4. Wrong diff result will be displayed.
Comment 1 Jiri Kovalsky 2002-08-07 17:14:49 UTC
Created attachment 7042 [details]
Original version of XML file.
Comment 2 Jiri Kovalsky 2002-08-07 17:15:13 UTC
Created attachment 7043 [details]
Modified version of XML file.
Comment 3 Jiri Kovalsky 2002-08-07 17:16:17 UTC
Created attachment 7044 [details]
And this is the wrong result.
Comment 4 Martin Entlicher 2002-08-07 17:29:10 UTC
This is already fixed in 3.4 builds.
Comment 5 Jiri Kovalsky 2002-08-08 08:34:45 UTC
Verified in RC1 build #200207252340 of NetBeans 3.4.
Comment 6 Quality Engineering 2003-07-01 12:55:40 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.