Bug 7891

Summary: perforce.py cannot handle single files
Product: [Build System, Metadata & Runtime] BitBake Reporter: Helmut Auer <helmut.auer>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Fixes fetching single files
none
Corrected version of patch none

Description Helmut Auer 2015-06-15 07:49:33 UTC
Created attachment 2548 [details]
Fixes fetching single files

Hello
When fetching directories via p4 src_uri everything's fine, but fetching single files does not work.
The attached patch fixes the issue.
Comment 1 Richard Purdie 2015-06-26 10:56:39 UTC
The odd thing is if I look at the fetcher in bitbake, this patch has already been applied, the code already does what you describe. Have you some local changes which introduced this problem?

Closing as invalid since the code already does what you describe as far as I can tell. Please reopen if there is a valid patch needed against master.
Comment 2 Helmut Auer 2015-06-26 12:28:24 UTC
Created attachment 2563 [details]
Corrected version of patch

Old patch was the reversed one :(
Comment 3 Helmut Auer 2015-06-26 12:29:19 UTC
Hi
Sorry my fault, the attached patch was the reversed one, this one is correct now.
Regards
Helmut