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 211190 - deleting a diff causes further diffs to be skipped?
Summary: deleting a diff causes further diffs to be skipped?
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
Depends on:
Reported: 2012-04-14 00:41 UTC by ivan
Modified: 2013-06-06 01:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description ivan 2012-04-14 00:41:31 UTC
I'm looking at a series of diffs in several files.
I"m looking at a file in the middle which has two green "new line" diffs.
I"m looking at the first diff.
I press on the red "Remove" cross and remove it.
Then I press next to go to the next diff but it jumps one diff and goes
to the second next one in the following file.

I _think_ what's happening is that upon removing the system automatically switches
to the next diff. This can be observed if the two diffs are near each
other and simultaneously visible. But if the second diff is not in view 
the diff view switches to it but doesn't scroll to it.

I've missed some new code I wanted to get rid of this way and got a surprise
Comment 1 Ondrej Vrabec 2013-06-05 08:28:35 UTC
i will try to handle this in mercurial. I guess if you remove a diff in the view a subsequent next/previous action should jump to the current difference (just scroll to the difference) so no diff is missed
Comment 2 Ondrej Vrabec 2013-06-05 08:32:40 UTC
Comment 3 Quality Engineering 2013-06-06 01:51:44 UTC
Integrated into 'main-golden', will be available in build *201306052301* on (upload may still be in progress)
User: Ondrej Vrabec <>
Log: #211190 - deleting a diff causes further diffs to be skipped?
jump to the current difference and not to the next/previous when one of the differences is removed