def commit(files=[], msg='')
      if files and files.empty? or files.nil? then files = self.svn_repo_working_copy end

      rev = ''
      svn_session(msg) do |svn|
        begin
          rev = svn.commit(files).revision
        #rescue Svn::Error::AuthnNoProvider,
        #       #Svn::Error::WcNotDirectory,
        #       Svn::Error::IllegalTarget,
        #       #Svn::Error::EntryNotFound => e
        #       Exception => e
        rescue Exception => err
          raise RepoAccessError, "Commit Failed: #{err.message}"
        end
      end
      rev
    end
def commit(files=[], msg='')
      if files and files.empty? or files.nil? then files = self.svn_repo_working_copy end

      rev = ''
      svn_session(msg) do |svn|
        begin
          rev = svn.commit(files).revision
        #rescue Svn::Error::AuthnNoProvider,
        #       #Svn::Error::WcNotDirectory,
        #       Svn::Error::IllegalTarget,
        #       #Svn::Error::EntryNotFound => e
        #       Exception => e
        rescue Exception => err
          raise RepoAccessError, "Commit Failed: #{err.message}"
        end
      end
      rev
    end
commit entities to the repository

 params single or list of files (full relative path (to repo root) needed)

 optional message

 raises RepoAccessError if something goes wrong
 returns the revision of the commmit