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 - Show annotations for Previous does not jump to a corresponding line
Summary: Show annotations for Previous does not jump to a corresponding line
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks: 202314
  Show dependency tree
 
Reported: 2012-10-16 08:27 UTC by Ondrej Vrabec
Modified: 2012-10-17 02:04 UTC (History)
0 users

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 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