When a file is copied in netbeans the mercurial plugin does not call hg copy -A.
This means that changes toa file are not propagated to copies of the file.
This is a known issue. In order for us to do the right thing we need the
platform to give us access to the Copy event in the Interceptor code. At present
it doesn't, so we don't get a chance to do anything with it.
We'll file an RFE against the platform to add Copy to the Versioning Interceptor
We are able to catch the rename int eh Interceptor and do the right Hg thing
here so you will get copy changes propagated on a rename, which is a start :)
We cannot fix this until dependent RFE is addressed
Will investigate possible solutions for 1.1. Could just not do the hg add on any
locally new files until the user does a Commit. The issue with this is that the
IDE view of the Hg repository is now out of sync with the real repository as
seen when a user interacts with it from the command line.
Target fix for rev 1.1
The dependent RFE has not been addressed.
A related issue is that fetching the copy information to display in Search History is not currently possible in Mercurial.
We use the appropriate template command with file_copies, but no copy info is returned.
This issue is being tracked:
Integrated into 'main-golden', will be available in build *201009080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ondrej Vrabec <firstname.lastname@example.org>
Log: Issue #102523 - Mercurial plugin does not support change propagation to a copy