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 262249 - Mercurial history does not follow moved files
Summary: Mercurial history does not follow moved files
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 8.2
Hardware: PC Solaris
: P3 normal with 2 votes (vote)
Assignee: Ondrej Vrabec
Depends on:
Reported: 2016-05-27 06:26 UTC by Alexander Simon
Modified: 2016-11-03 10:15 UTC (History)
1 user (show)

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 Alexander Simon 2016-05-27 06:26:54 UTC
When using the history view in the IDE to browse old versions of a file the
default is to view the last 30 days. At the bottom of the list there is an
option to load the next 30 days back in time. This works fine and I can view
changes all the way back to the beginning of time.

Right clicking on the list gives the option to load all changes which is
really convenient when I want to view old changes. I was so happy about this
option when I found it so I immediately clicked "always load all".

However this list of changes is really short. This is because the file I'm
looking at was hg moved a while ago. The change to move the file is the last
one in the list so I assume the problem is that the IDE doesn't trace beyond
the move in this case.

Now, there is no option in the menu to go back to only load 30 days at a
time, so now I can't see older revisions at all...

The comp ver. and reported release entered above is probably wrong. I use a
fairly recent version from the Oracle internal update center. I haven't found
a way to see what version of the IDE I'm using except for the
internal-oss-96-on-20160406 which doesn't tell me if this is v 11 or 12 or
whatever, so I just picked 12.5 since it was the latest in the list.
Comment 1 ricktw 2016-11-03 10:15:48 UTC
So: mercurial history doesn't display revisions before the file was moved. 

Mercurial does offer this option via the `log -f` option (*follow changeset history*).

It would be nice to configure this in Netbeans or let Netbeans repsect the option when specified in ~/.hgrc like this:

log = -f ``