mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-69935 SVN browser can't open some files
This commit is contained in:
@@ -232,8 +232,7 @@ public class RepositoryBrowserComponent extends JPanel implements Disposable, Da
|
||||
|
||||
if (entry.getName().lastIndexOf('.') > 0 && !manager.getFileTypeByFileName(name).isBinary()) {
|
||||
SVNURL url = node.getURL();
|
||||
SVNRevision rev = SVNRevision.create(entry.getRevision());
|
||||
final SvnFileRevision revision = new SvnFileRevision(myVCS, SVNRevision.UNDEFINED, rev, url.toString(),
|
||||
final SvnFileRevision revision = new SvnFileRevision(myVCS, SVNRevision.UNDEFINED, SVNRevision.HEAD, url.toString(),
|
||||
entry.getAuthor(), entry.getDate(), null, null);
|
||||
|
||||
return new VcsVirtualFile(node.getSVNDirEntry().getName(), revision, VcsFileSystem.getInstance());
|
||||
|
||||
Reference in New Issue
Block a user