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 239040 - file can not be opened after hg revert
Summary: file can not be opened after hg revert
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 235581 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-02 11:17 UTC by Vladimir Voskresensky
Modified: 2013-12-25 10:44 UTC (History)
1 user (show)

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 Vladimir Voskresensky 2013-12-02 11:17:26 UTC
- open file.cpp which is under HG.
- select in Files view
- make modifications in file
- Mercurial->Revert => new file file.cpp.orig is created close to original file
- try to open file.cpp.orig
=> file.cpp is opened instead
Comment 1 Vladimir Voskresensky 2013-12-02 13:42:26 UTC
fixed
f7918c5bfd1b
9717168289cd
Comment 2 igor_nikiforov 2013-12-02 14:37:16 UTC
Integrated to releases:
  aabe31015397
  a6b468438aa9
Comment 3 Vladimir Voskresensky 2013-12-03 12:06:35 UTC
extra:
276102:54028f58e4c2
Comment 4 Vladimir Voskresensky 2013-12-03 12:07:15 UTC
extra transplanted into releases:
http://hg.netbeans.org/releases/rev/d7efa1bcda5e
Comment 5 Quality Engineering 2013-12-07 04:23:21 UTC
Integrated into 'main-silver', will be available in build *201312070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/06ac3e3f3dae
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixing #239040 - file can not be opened after hg revert
- add copyright
- use factory method to create object and attach listeners
(transplanted from f7918c5bfd1b133480dadc1954a4c9f6823564ff)
Comment 6 soldatov 2013-12-09 08:37:49 UTC
verified in NetBeans IDE 7.4 (Build 201312082348)
Comment 7 Vladimir Voskresensky 2013-12-25 10:44:41 UTC
*** Bug 235581 has been marked as a duplicate of this bug. ***