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 131432 - Subversion | Resolve conflicts doesnt highliht the conflicting line
Summary: Subversion | Resolve conflicts doesnt highliht the conflicting line
Status: VERIFIED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
: 136900 154899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-28 16:53 UTC by Petr Cyhelsky
Modified: 2008-12-08 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
zipped files in conflict (1.38 KB, application/x-compressed)
2008-04-11 14:17 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2008-03-28 16:53:54 UTC
Product Version: NetBeans IDE Dev (Build 200803251204)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

Observed: The merge conflicts resolver tab doesnt show on which line is the conflict(the conflict was on single
line(changed value of variable)), it instead shows both versions with red background(the whole file in both cases).
There is no hint as to where is the conflicting part of file.

Expected: Only the line with conflict should be marked.

Steps to reproduce: have some svn versioned project ->  
1. Modify "Main.java" file and save it.
2. Invoke Versioning | Check out... from main menu and change the "Workfile location".
3. Open the same project, modify "Main.java" class at the same line and commit it.
4. Return to previous project, select the project root and invoke Subversion | Update with Dependencies popup menu action.
5. Invoke Subversion | Resolve conflicts popup menu action on "Main.java" node.
Comment 1 Tomas Stupka 2008-04-10 19:53:06 UTC
could it be your whole file was in conflict?
Comment 2 Petr Cyhelsky 2008-04-10 20:46:05 UTC
no - the conflict was only in one line - i only changed the type and value of one variable - it is true that the
behavior would be correct if the whole file were in conflict, but it was not.
Comment 3 Tomas Stupka 2008-04-10 20:52:27 UTC
> ... i only changed the type and value of one variable
the wasn't what you did but what you got:)

how does the conflicted files look like when you open it in the editor? are the conflict marks only around the place you
changed?
Comment 4 Petr Cyhelsky 2008-04-11 14:00:31 UTC
Updated steps to reproduce:

1.Create new java application
2. Import it to the svn repository
3. Create in the main.java file some variable, save it.
4. Commit it.
5. Invoke Versioning | Check out... from main menu and change the "Workfile location".
6. In the newly opened version of the project change the value of variable, save, commit.
7. In the older version of the project change the value, save, update with dependencies
8. Resolve the conflict.
9. If u dont get the error repeat steps 6-8 until u do

This defect seems to appear ONLY on windows machines
Comment 5 Petr Cyhelsky 2008-04-11 14:17:12 UTC
Created attachment 60049 [details]
zipped files in conflict
Comment 6 Petr Cyhelsky 2008-04-11 14:20:59 UTC
There is no other difference between the files than the changed value of the variable, so it is baffling why this occurs.
Comment 7 Tomas Stupka 2008-04-14 13:59:08 UTC
the svn cli marked the whole file as in conflict - this is nothing we could fix in the nb module
Comment 8 Petr Cyhelsky 2008-04-14 14:13:13 UTC
ok
Comment 9 Tomas Stupka 2008-06-10 15:42:33 UTC
*** Issue 136900 has been marked as a duplicate of this issue. ***
Comment 10 Tomas Stupka 2008-12-08 10:37:22 UTC
*** Issue 154899 has been marked as a duplicate of this issue. ***