Opened 9 years ago

Last modified 9 years ago

#4657 new defect

_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


When a call to .fileContent is made on a node that is not a file, in 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)

Change History (1)

comment:1 Changed 9 years ago by Dimitri Tarassenko

This is the conflicting plugin I meant: RepoSearchPlugin.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Lewis Baker.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.