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

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

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

   **[Nathan 
Beyer](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=nbeyer_cerner)**
 opened 
**[SCM-243](https://issues.apache.org/jira/browse/SCM-243?redirect=false)** and 
commented
   
   When performing a 'release:prepare' on a project that contains an 
'svn:externals' linked folder, the following warnings and messages are produced.
   
   [INFO] Unknown file status: 'X'.
   [WARNING] Unexpected input, the line must be at least seven characters long. 
Line: ''.
   [INFO] Unknown file status: 'P'.
   
   I'm not sure what's causing the "unexpected input" and "P" message, but the 
"X" message is from a folder in the project that is pulled into the working 
copy via the svn:externals property [1]. This is an SVN property that's set on 
a folder and makes the SVN client perform an additional "unversioned" checkout 
of a URL. The externals will only exist in the working copy. When the "svn 
status" is run on a project an external item is given the status "X". As such, 
the status X can safely be ignored and treated as either "no modification" or 
"ignored" would be.
   
   Here's a dump of the help from svn status for more information.
   
   C:\temp>svn help status
   status (stat, st): Print the status of working copy files and directories.
   usage: status [PATH...]
   
   With no args, print only locally modified items (no network access).
   With -u, add working revision and server out-of-date information.
   With -v, print full revision information on every item.
   
   The first six columns in the output are each one character wide:
   First column: Says if item was added, deleted, or otherwise changed
   ' ' no modifications
   'A' Added
   'C' Conflicted
   'D' Deleted
   'I' Ignored
   'M' Modified
   'R' Replaced
   'X' item is unversioned, but is used by an externals definition
   '?' item is not under version control
   \<snip/>
   
   [1] 
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.externals
   
   
   ---
   
   **Affects:** 1.0-beta-3
   




> SVN provider reports a warning for 'X' status as unknown, but it's an 
> external link
> -----------------------------------------------------------------------------------
>
>                 Key: SCM-243
>                 URL: https://issues.apache.org/jira/browse/SCM-243
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>    Affects Versions: 1.0-beta-3
>         Environment: Windows XP SP2, Sun JDK 1.4.2_12, Maven 2.0.4, SVN 1.4.0
>            Reporter: Nathan Beyer
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.0-rc1
>
>
> When performing a 'release:prepare' on a project that contains an 
> 'svn:externals' linked folder, the following warnings and messages are 
> produced.
> [INFO] Unknown file status: 'X'.
> [WARNING] Unexpected input, the line must be at least seven characters long. 
> Line: ''.
> [INFO] Unknown file status: 'P'.
> I'm not sure what's causing the "unexpected input" and "P" message, but the 
> "X" message is from a folder in the project that is pulled into the working 
> copy via the svn:externals property [1]. This is an SVN property that's set 
> on a folder and makes the SVN client perform an additional "unversioned" 
> checkout of a URL. The externals will only exist in the working copy. When 
> the "svn status" is run on a project an external item is given the status 
> "X". As such, the status X can safely be ignored and treated as either "no 
> modification" or "ignored" would be.
> Here's a dump of the help from svn status for more information.
> C:\temp>svn help status
> status (stat, st): Print the status of working copy files and directories.
> usage: status [PATH...]
>   With no args, print only locally modified items (no network access).
>   With -u, add working revision and server out-of-date information.
>   With -v, print full revision information on every item.
>   The first six columns in the output are each one character wide:
>     First column: Says if item was added, deleted, or otherwise changed
>       ' ' no modifications
>       'A' Added
>       'C' Conflicted
>       'D' Deleted
>       'I' Ignored
>       'M' Modified
>       'R' Replaced
>       'X' item is unversioned, but is used by an externals definition
>       '?' item is not under version control
> <snip/>
> [1] 
> http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html#svn.advanced.props.special.externals



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

Reply via email to