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

Summary: Mercurial history does not follow moved files
Product: versioncontrol Reporter: Alexander Simon <alexvsimon>
Component: MercurialAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: issues
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

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:

``[defaults]
log = -f ``