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)

Change History (2)

comment:1 Changed 16 years ago by Dimitri Tarassenko

This is the conflicting plugin I meant: RepoSearchPlugin.

comment:2 Changed 3 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Lewis Baker.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.