[ 
https://issues.apache.org/jira/browse/SCM-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961893#comment-17961893
 ] 

ASF GitHub Bot commented on SCM-524:
------------------------------------

jira-importer opened a new issue, #735:
URL: https://github.com/apache/maven-scm/issues/735

   **[Erlend 
Hamnaberg](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hamnis)**
 opened 
**[SCM-524](https://issues.apache.org/jira/browse/SCM-524?redirect=false)** and 
commented
   
   Perforce reports errors in stdErr, not stdout.
   
   Meaning if you try to
   
   p4 sync ...`@none-existing-label`
   
   you will get the
   
   Invalid changelist/client/label/date '`@none-existing-label`'. in stderr.
   
   See attached patch to address this issue.
   
   
   ---
   
   **Affects:** 1.2
   
   **Attachments:**
   - 
[PerforceCheckoutStdErr.patch](https://issues.apache.org/jira/secure/attachment/12718805/PerforceCheckoutStdErr.patch)
 (_2.33 kB_)
   




> Syncing with an none-existing label / daterange / client causes the 
> PerforceCheckoutCommand to report success
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: SCM-524
>                 URL: https://issues.apache.org/jira/browse/SCM-524
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-perforce
>    Affects Versions: 1.2
>            Reporter: Erlend Hamnaberg
>            Priority: Major
>         Attachments: PerforceCheckoutStdErr.patch
>
>
> Perforce reports errors in stdErr, not stdout.
> Meaning if you try to
> p4 sync ...@none-existing-label
> you will get the 
> Invalid changelist/client/label/date '@none-existing-label'. in stderr.
> See attached patch to address this issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to