You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2006/02/02 17:51:12 UTC

[jira] Updated: (SCM-19) resolve file status ambiguities

     [ http://jira.codehaus.org/browse/SCM-19?page=all ]

Emmanuel Venisse updated SCM-19:
--------------------------------

    Fix Version:     (was: 1.0-beta-3)
                 1.0

> resolve file status ambiguities
> -------------------------------
>
>          Key: SCM-19
>          URL: http://jira.codehaus.org/browse/SCM-19
>      Project: Maven SCM
>         Type: Task

>   Components: maven-scm-api
>     Reporter: Brett Porter
>      Fix For: 1.0

>
>
> currently ScmFileStatus just reports whatever the provider gave back, but means different things in different SCM's.
> eg. "updated" in CVS is UPDATED or PATCHED, in SVN it is UPDATED or MERGED.
> "added" in CVS is UPDATED, in SVN it is ADDED.
> The API should hide this from the user, though perhaps be able to give the extended info if necessary.
> I suggest isXXX flags instead:
> isUpdated()
> isAdded() - just came from an update
> isMerged()
> isInConflict()
> isNew() - new locally
> etc.

-- 
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