_P4Node._get_fileContent() raises NoSuchFile when a node is not a file (directory)
|Reported by:||Dimitri Tarassenko||Owned by:||Lewis Baker|
When a call to .fileContent is made on a node that is not a file, in repos.py in 669/670 an exception is raised. This might seem logical, however, SVN repo plugin just returns None in the same situation.
This behaviour of PerforcePlugin breaks tracreposearch/RepoSearch plugin.
I was kind of considering filing it with RepoSearch, however I think it is logical to expect Perforce repo provider behave like SVN provider does, so I am filing it here.