So I have a problem when svn tries to commit text files with
inconsistent line endings (dos and unix), eg. the site generated docs
that we're trying to make consistent.

I have set auto props with the svn:native, svn complains when
commiting new files with the "inconsistent new line" message.

I've seen this code in the svn add command, but don't know how to use
it from the scm provider.

    protected ScmResult executeAddCommand( ScmProviderRepository
repository, ScmFileSet fileSet, String message,
                                           boolean binary )
        throws ScmException
    {
        // TODO: could do this with propset?
        if ( binary )
        {
            throw new ScmException( "This provider does not yet
support binary files" );
        }


If I don't find a solution, i'm gonna add the setProperty and
deleteProperty methods to the scm provider and check if my scm is
instance of it to remove the native property before commit.


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

Reply via email to