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.
Steps to reproduce: - add a remote host - open any file from the remote host - make some changes in the file then save it - click on History button in the editor Result: 'No history available' message appears.
Local history is file-centric now, see, for example in History.getLocalHistory() (History.java:104) I see the following code VersioningSystem getLocalHistory(FileObject fo) { File file = FileUtil.toFile(fo); if(file == null) { LOG.log(Level.FINE, "local history available only for local files {0}", fo); // NOI18N return null; // XXX currently LocalHistory works only with io.File. } .... }
changes in localhistory and versioning to make it remote fs capable core-main #1c48acc97d3c core-main #20e46fb2f626 core-main #117bc36b0a4c
additional work is necessary in o.n.m.versioning.core.api.VCSFileProxy
Integrated into 'main-golden', will be available in build *201305230439* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1c48acc97d3c User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #229919 - No history available for remote files HistoryAction has to work with both - io.File and VCSFileProxy
Integrated into 'main-golden', will be available in build *201305282301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/fa7a5617d73f User: Vladimir Kvashin <vkvashin@netbeans.org> Log: implemented VCSFileProxyOperations.lastModified (#229919 No history available for remote files)
Tomasi, what else needs to be done? Is this ready to be closed now?
(In reply to comment #6) > Tomasi, what else needs to be done? Is this ready to be closed now? the work in LH is mostly done, remote must provide createProxy(url)
Integrated into 'main-golden', will be available in build *201306112301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9410f15cf81e User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixing #229919 No history available for remote files: added toURI() and create(URI) methods
fixed in core-main #61db03289659
Integrated into 'main-golden', will be available in build *201306122301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/61db03289659 User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #229919 - No history available for remote files