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

2006-02-02 Thread Emmanuel Venisse (JIRA)
 [ 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



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

2005-12-13 Thread Emmanuel Venisse (JIRA)
 [ http://jira.codehaus.org/browse/SCM-19?page=all ]

Emmanuel Venisse updated SCM-19:


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

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

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