We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the options --p4-mappings '//my/mapping/... /mapping/...' universum return next error:
--p4-mappings '//my/mapping/... /mapping/...'
| 2.2. Creating workspace | | 2.2.1. Cleaning workspace | | | ==> No client to delete | | └ [Success] | | | | Error: [P4#run] Errors during command execution( "p4 client -i" ) | | | | [Error]: "Error in client specification.\nMapping 'default' is not under '//WATCH_TASK/...'." | | | └ [Failed]
But if this option is used as --p4-mappings='//my/mapping/... /mapping/...' all right.
--p4-mappings='//my/mapping/... /mapping/...'
Run in terminal:
python -m universum --vcs-type p4 --p4-client MY_CLIENT --p4-port 111.111.111.111:111 --p4-user USER --p4-password PASS --p4-mappings '//my/mapping/... /mapping/...'
| 2.2. Creating workspace | └ [Success]
The bug occurs because to settings.mappings list was added new element with default value:
settings.mappings
default
[['//my/mapping/... /mapping/..., //my/mapping2/... /mapping2/...', 'default']]
Bug not occurs when --p4-mappings is not a last option in command line:
--p4-mappings
python -m universum --vcs-type p4 --p4-client MY_CLIENT --p4-port 111.111.111.111:111 --p4-user USER --p4-password PASS --p4-mappings '//my/mapping/... /mapping/...' --p4-force-clean
or if remove nargs='+' in parser.add_argument("--p4-mappings",... in universum code
nargs='+'
parser.add_argument("--p4-mappings",...
The text was updated successfully, but these errors were encountered:
k-dovgan
No branches or pull requests
Description
When using the options
--p4-mappings '//my/mapping/... /mapping/...'
universum return next error:But if this option is used as
--p4-mappings='//my/mapping/... /mapping/...'
all right.Steps to reproduce
Run in terminal:
Expected result
Actual result
Environment
Additional context
The bug occurs because to
settings.mappings
list was added new element withdefault
value:Bug not occurs when
--p4-mappings
is not a last option in command line:or if remove
nargs='+'
inparser.add_argument("--p4-mappings",...
in universum codeThe text was updated successfully, but these errors were encountered: