SVN provider reports a warning for 'X' status as unknown, but it's an external 
link
-----------------------------------------------------------------------------------

                 Key: SCM-243
                 URL: http://jira.codehaus.org/browse/SCM-243
             Project: Maven SCM
          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 (Cerner)
            Priority: Minor


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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to