Modify ↓
Opened 16 years ago
Closed 3 years ago
#4657 closed defect (wontfix)
_P4Node._get_fileContent() raises NoSuchFile when a node is not a file (directory)
Reported by: | Dimitri Tarassenko | Owned by: | Lewis Baker |
---|---|---|---|
Priority: | normal | Component: | PerforcePlugin |
Severity: | normal | Keywords: | RepoSearch |
Cc: | Trac Release: | 0.11 |
Description
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.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
This is the conflicting plugin I meant: RepoSearchPlugin.