Opened 7 years ago

Last modified 7 years ago

#4657 new defect

_P4Node._get_fileContent() raises NoSuchFile when a node is not a file (directory)

Reported by: m1tk4 Owned by: lewisbaker
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 7 years ago by m1tk4

This is the conflicting plugin I meant: RepoSearchPlugin.

Add Comment

Modify Ticket

as new The owner will remain lewisbaker.

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

Note: See TracTickets for help on using tickets.