Jump to content


whyummi

Member Since 24 Jul 2019
Offline Last Active Jan 27 2020 11:44 AM
-----

Topics I've Started

No files to submit error when wildcard is used in the stream paths

25 July 2019 - 11:02 AM

Hi,

I have encountered this strange error and since I didn't find anything useful in documentation, I would like to know if this behavior is a feature or a bug. The problem is that when I try to submit a file from a stream client and this file is mapped with use of * wildcard I got following error:

//TESTSTREAM/development/Pipfile.lock - warning: cannot submit from stream //TESTSTREAM/path_test client
No files to submit.

The problem occurs only when I use * wildcard for including files from root directory. When * wildcard is used with combination of folders for deeper paths, the submit succeed, as example:

Stream paths settings:
Paths:
		exclude ...
		share sources/*
		share *

Client content:
D:.
│ p4config.txt
│ Pipfile
│ Pipfile.lock
│ superprogram.py
│
└───sources
		project1.py
		project2.py
		project3.py
		project4.py
		project5.py
		project6.py

Submit will pass for any file in sources folder but will fail for any root located file.

When I map files like following:
Paths:
		exclude ...
		share sources/*
		share *
		share Pipfile.lock

The submit of Pipfile.lock will succeed.

I am using Windows client and Windows Perforce server (Server version: P4D/NTX64/2019.1/1796703 (2019/04/30))