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 220152

Summary: Show annotations for Previous does not jump to a corresponding line
Product: versioncontrol Reporter: Ondrej Vrabec <ovrabec>
Component: MercurialAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 202314    

Description Ondrej Vrabec 2012-10-16 08:27:56 UTC
When selecting an annotation from the annotation bar and invoking Show annotations for Previous, the previous version of the file is opened however the cursor stays on the first line in the file. I would expect it to be automatically positioned on a line closer to the context in the original file. Indeed the position cannot be precise because the line actually changed between the revision but the context should be determined as close as possible.
Comment 1 Ondrej Vrabec 2012-10-16 09:17:17 UTC
fix: http://hg.netbeans.org/core-main/rev/7b99e11a2631
Comment 2 Quality Engineering 2012-10-17 02:04:55 UTC
Integrated into 'main-golden', will be available in build *201210170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7b99e11a2631
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #220152 - Show annotations for Previous does not jump to a corresponding line
trying to determine a corresponding line from a previous revision by diffing contents of the files