diff options
author | François Andriot <francois.andriot@free.fr> | 2021-05-11 20:25:31 +0200 |
---|---|---|
committer | François Andriot <francois.andriot@free.fr> | 2021-05-11 20:25:31 +0200 |
commit | 88eb13611e1e5626069e1a45ad5fd95fd4618431 (patch) | |
tree | e6cf5c49a2f1883e348d9f58d66bf252e4a78f19 /src/svnqt | |
parent | 283bc34244d24be02e90b767a82826a4ca8da186 (diff) | |
download | tdesvn-88eb13611e1e5626069e1a45ad5fd95fd4618431.tar.gz tdesvn-88eb13611e1e5626069e1a45ad5fd95fd4618431.zip |
Fix ftbfs on Fedora 34
error: ISO C++17 does not allow dynamic exception specifications
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'src/svnqt')
-rw-r--r-- | src/svnqt/client.h | 76 | ||||
-rw-r--r-- | src/svnqt/client_annotate.cpp | 2 | ||||
-rw-r--r-- | src/svnqt/client_cat.cpp | 6 | ||||
-rw-r--r-- | src/svnqt/client_diff.cpp | 8 | ||||
-rw-r--r-- | src/svnqt/client_impl.h | 80 | ||||
-rw-r--r-- | src/svnqt/client_lock.cpp | 4 | ||||
-rw-r--r-- | src/svnqt/client_ls.cpp | 6 | ||||
-rw-r--r-- | src/svnqt/client_merge.cpp | 6 | ||||
-rw-r--r-- | src/svnqt/client_modify.cpp | 38 | ||||
-rw-r--r-- | src/svnqt/client_status.cpp | 10 | ||||
-rw-r--r-- | src/svnqt/repository.cpp | 12 | ||||
-rw-r--r-- | src/svnqt/repository.h | 10 | ||||
-rw-r--r-- | src/svnqt/wc.cpp | 8 | ||||
-rw-r--r-- | src/svnqt/wc.h | 8 |
14 files changed, 137 insertions, 137 deletions
diff --git a/src/svnqt/client.h b/src/svnqt/client.h index cea1d5b..293213e 100644 --- a/src/svnqt/client.h +++ b/src/svnqt/client.h @@ -136,7 +136,7 @@ namespace svn const Revision revision = svn::Revision::HEAD, bool detailed_remote = false, bool hide_externals = false, - const StringArray & changelists=StringArray() ) throw (ClientException) = 0; + const StringArray & changelists=StringArray() ) = 0; /** * Returns the status of a single file in the path. @@ -149,7 +149,7 @@ namespace svn * @return a Status with Statis.isVersioned = FALSE */ virtual StatusPtr - singleStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD) throw (ClientException)=0; + singleStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD)=0; /** * Executes a revision checkout. @@ -169,7 +169,7 @@ namespace svn svn::Depth depth=DepthInfinity, bool ignore_externals=false, bool overwrite=false - ) throw (ClientException) = 0; + ) = 0; /** * relocate wc @a from to @a to @@ -177,7 +177,7 @@ namespace svn */ virtual void relocate (const Path & path, const TQString &from_url, - const TQString &to_url, bool recurse) throw (ClientException)=0; + const TQString &to_url, bool recurse)=0; /** * Sets a single file for deletion. @@ -186,7 +186,7 @@ namespace svn virtual svn::Revision remove (const Path & path, bool force, bool keep_local = true, - const PropertiesMap&revProps = PropertiesMap()) throw (ClientException)=0; + const PropertiesMap&revProps = PropertiesMap())=0; /** * Sets files for deletion. @@ -199,7 +199,7 @@ namespace svn remove (const Targets & targets, bool force, bool keep_local=true, - const PropertiesMap&revProps=PropertiesMap()) throw (ClientException) = 0; + const PropertiesMap&revProps=PropertiesMap()) = 0; /** * Reverts a couple of files to a pristiner state. @@ -209,7 +209,7 @@ namespace svn revert (const Targets & targets, Depth depth, const StringArray&changelist=StringArray() - ) throw (ClientException)=0; + )=0; /** @@ -222,7 +222,7 @@ namespace svn * @exception ClientException */ virtual void - add (const Path & path, svn::Depth depth,bool force=false, bool no_ignore=false, bool add_parents = true) throw (ClientException)=0; + add (const Path & path, svn::Depth depth,bool force=false, bool no_ignore=false, bool add_parents = true)=0; /** * Updates the file or directory. @@ -238,7 +238,7 @@ namespace svn virtual Revisions update (const Targets & path, const Revision & revision, Depth depth,bool ignore_externals,bool allow_unversioned, - bool sticky_depth) throw (ClientException) = 0; + bool sticky_depth) = 0; /** * Retrieves the contents for a specific @a revision of @@ -252,7 +252,7 @@ namespace svn virtual TQByteArray cat (const Path & path, const Revision & revision, - const Revision & peg_revision=svn_opt_revision_unspecified) throw (ClientException)=0; + const Revision & peg_revision=svn_opt_revision_unspecified)=0; /** * Retrieves the contents for a specific @a revision of * a @a path at @a peg_revision @@ -267,7 +267,7 @@ namespace svn cat(svn::stream::SvnStream&buffer, const Path & path, const Revision & revision, - const Revision & peg_revision) throw (ClientException)=0; + const Revision & peg_revision)=0; /** * Retrieves the contents for a specific @a revision of * a @a path at @a peg_revision @@ -282,7 +282,7 @@ namespace svn get (const Path & path, const TQString & target, const Revision & revision, - const Revision & peg_revision=svn_opt_revision_unspecified) throw (ClientException)=0; + const Revision & peg_revision=svn_opt_revision_unspecified)=0; /** * Retrieves the contents for a specific @a revision of @@ -303,7 +303,7 @@ namespace svn const DiffOptions&diffoptions = DiffOptions(), bool ignore_mimetypes = false, bool include_merged_revisions = false - ) throw (ClientException)=0; + )=0; /** * Commits changes to the repository. This usually requires @@ -324,7 +324,7 @@ namespace svn const svn::StringArray&contents=svn::StringArray(), const PropertiesMap&revProps=PropertiesMap(), bool keep_changelist=false - ) throw (ClientException)=0; + )=0; /** * Copies a versioned file with the history preserved. @@ -333,7 +333,7 @@ namespace svn virtual svn::Revision copy (const Path & srcPath, const Revision & srcRevision, - const Path & destPath) throw (ClientException)=0; + const Path & destPath)=0; /** * Copies a versioned file with the history preserved. * @since subversion 1.5 api @@ -345,7 +345,7 @@ namespace svn const Revision & srcRevision, const Revision & pegRevision, const Path & destPath, - bool asChild=false,bool makeParent=false,const PropertiesMap&revProps=PropertiesMap()) throw (ClientException)=0; + bool asChild=false,bool makeParent=false,const PropertiesMap&revProps=PropertiesMap())=0; /** * Moves or renames a file. @@ -354,7 +354,7 @@ namespace svn virtual svn::Revision move (const Path & srcPath, const Path & destPath, - bool force) throw (ClientException)=0; + bool force)=0; /** * Moves or renames a file. * @exception ClientException @@ -362,7 +362,7 @@ namespace svn virtual svn::Revision move (const Targets & srcPath, const Path & destPath, - bool force,bool asChild,bool makeParent,const PropertiesMap&revProps=PropertiesMap()) throw (ClientException)=0; + bool force,bool asChild,bool makeParent,const PropertiesMap&revProps=PropertiesMap())=0; /** * Creates a directory directly in a repository or creates a @@ -381,7 +381,7 @@ namespace svn const TQString& message, bool makeParent=true, const PropertiesMap&revProps=PropertiesMap() - ) throw (ClientException)=0; + )=0; /** * Creates a directory directly in a repository or creates a * directory on disk and schedules it for addition. If <i>path</i> @@ -398,7 +398,7 @@ namespace svn const TQString& message, bool makeParent=true, const PropertiesMap&revProps=PropertiesMap() - ) throw (ClientException)=0; + )=0; /** * Recursively cleans up a local directory, finishing any @@ -407,13 +407,13 @@ namespace svn * @exception ClientException */ virtual void - cleanup (const Path & path) throw (ClientException)=0; + cleanup (const Path & path)=0; /** * Removes the 'conflicted' state on a file. * @exception ClientException */ - virtual void resolve (const Path & path,Depth depth,const ConflictResult&resolution=ConflictResult()) throw (ClientException)=0; + virtual void resolve (const Path & path,Depth depth,const ConflictResult&resolution=ConflictResult())=0; /** * Exports the contents of either a subversion repository into a @@ -439,7 +439,7 @@ namespace svn const TQString&native_eol=TQString(), bool ignore_externals = false, svn::Depth depth=svn::DepthInfinity - ) throw (ClientException)=0; + )=0; /** * Update local copy to mirror a new url. This excapsulates the @@ -455,7 +455,7 @@ namespace svn bool sticky_depth = true, bool ignore_externals=false, bool allow_unversioned=false - ) throw (ClientException)=0; + )=0; /** * Import file or directory PATH into repository directory URL at @@ -473,7 +473,7 @@ namespace svn const TQString& message, svn::Depth depth, bool no_ignore,bool no_unknown_nodetype, - const PropertiesMap&revProps=PropertiesMap()) throw (ClientException)=0; + const PropertiesMap&revProps=PropertiesMap())=0; /** * Merge changes from two paths into a new local path. @@ -488,7 +488,7 @@ namespace svn bool dry_run=false, bool record_only=false, const StringArray&merge_options=StringArray() - ) throw (ClientException)=0; + )=0; virtual void merge_peg(const Path&src, @@ -501,7 +501,7 @@ namespace svn bool force=false, bool record_only=false, const StringArray&merge_options=StringArray() - ) throw (ClientException)=0; + )=0; virtual void merge_peg(const Path&src, @@ -513,7 +513,7 @@ namespace svn bool dry_run=false, bool force=false, const StringArray&merge_options=StringArray() - ) throw (ClientException)=0; + )=0; /** * Retrieve information for the given path @@ -531,7 +531,7 @@ namespace svn const Revision & rev, const Revision & peg_revision=svn_opt_revision_unspecified, const StringArray&changelists=StringArray() - ) throw (ClientException)=0; + )=0; /** * Retrieve log information for the given path @@ -558,7 +558,7 @@ namespace svn bool strictNodeHistory=true,int limit = 0, bool include_merged_revisions = false, const StringArray&revprops=StringArray() - ) throw (ClientException)=0; + )=0; /** * Retrieve log information for the given path @@ -586,7 +586,7 @@ namespace svn bool strictNodeHistory=true,int limit = 0, bool include_merged_revisions = false, const StringArray&revprops=StringArray() - ) throw (ClientException)=0; + )=0; /** * Produce diff output which describes the delta between @@ -618,7 +618,7 @@ namespace svn bool noDiffDeleted,bool ignore_contenttype, const StringArray&extra, const StringArray&changelists - ) throw (ClientException)=0; + )=0; /** * Same as other diff but extra options always set to empty list. @@ -627,7 +627,7 @@ namespace svn diff_peg (const Path & tmpPath, const Path & path,const Path&relativeTo, const Revision & revision1, const Revision & revision2, const Revision& peg_revision, Depth depth, bool ignoreAncestry, - bool noDiffDeleted,bool ignore_contenttype) throw (ClientException)=0; + bool noDiffDeleted,bool ignore_contenttype)=0; /** * Produce diff output which describes the delta between @@ -660,7 +660,7 @@ namespace svn bool noDiffDeleted,bool ignore_contenttype, const StringArray&extra, const StringArray&changelists - ) throw (ClientException)=0; + )=0; /** * Same as other diff but extra options and changelists always set to empty list. @@ -669,7 +669,7 @@ namespace svn diff (const Path & tmpPath, const Path & path1,const Path & path2,const Path&relativeTo, const Revision & revision1, const Revision & revision2, Depth depth, bool ignoreAncestry, - bool noDiffDeleted,bool ignore_contenttype) throw (ClientException)=0; + bool noDiffDeleted,bool ignore_contenttype)=0; /** * lists entries in @a pathOrUrl no matter whether local or @@ -690,7 +690,7 @@ namespace svn list (const Path& pathOrUrl, const Revision& revision, const Revision& peg, - svn::Depth depth,bool retrieve_locks) throw (ClientException)=0; + svn::Depth depth,bool retrieve_locks)=0; /** * lists properties in @a path no matter whether local or @@ -840,7 +840,7 @@ namespace svn virtual void lock (const Targets & targets, const TQString& message, - bool steal_lock) throw (ClientException)=0; + bool steal_lock)=0; /** * unlock files in repository or working copy * @param targets items to unlock @@ -848,7 +848,7 @@ namespace svn */ virtual void unlock (const Targets&targets, - bool break_lock) throw (ClientException)=0; + bool break_lock)=0; virtual void url2Revision(const TQString&revstring, diff --git a/src/svnqt/client_annotate.cpp b/src/svnqt/client_annotate.cpp index 2930298..7fea685 100644 --- a/src/svnqt/client_annotate.cpp +++ b/src/svnqt/client_annotate.cpp @@ -90,7 +90,7 @@ namespace svn const DiffOptions&diffoptions, bool ignore_mimetypes, bool include_merged_revisions - ) throw (ClientException) + ) { Pool pool; svn_error_t *error; diff --git a/src/svnqt/client_cat.cpp b/src/svnqt/client_cat.cpp index 5200917..63d7c66 100644 --- a/src/svnqt/client_cat.cpp +++ b/src/svnqt/client_cat.cpp @@ -49,7 +49,7 @@ namespace svn TQByteArray Client_impl::cat(const Path & path, const Revision & revision, - const Revision & peg_revision) throw (ClientException) + const Revision & peg_revision) { svn::stream::SvnByteStream buffer(*m_context); svn_error_t * error = internal_cat(path,revision,peg_revision,buffer); @@ -63,7 +63,7 @@ namespace svn Client_impl::cat(svn::stream::SvnStream&buffer, const Path & path, const Revision & revision, - const Revision & peg_revision) throw (ClientException) + const Revision & peg_revision) { svn_error_t * error = internal_cat(path,revision,peg_revision,buffer); if (error != 0) @@ -74,7 +74,7 @@ namespace svn Client_impl::get (const Path & path, const TQString & target, const Revision & revision, - const Revision & peg_revision) throw (ClientException) + const Revision & peg_revision) { svn::stream::SvnFileOStream buffer(target,*m_context); svn_error_t * error = internal_cat(path,revision,peg_revision,buffer); diff --git a/src/svnqt/client_diff.cpp b/src/svnqt/client_diff.cpp index 1a3a6ee..85fa18b 100644 --- a/src/svnqt/client_diff.cpp +++ b/src/svnqt/client_diff.cpp @@ -55,7 +55,7 @@ namespace svn Client_impl::diff_peg (const Path & tmpPath, const Path & path,const Path&relativeTo, const Revision & revision1, const Revision & revision2, const Revision& peg_revision, Depth depth, const bool ignoreAncestry, - const bool noDiffDeleted,const bool ignore_contenttype) throw (ClientException) + const bool noDiffDeleted,const bool ignore_contenttype) { return diff_peg(tmpPath,path,relativeTo, revision1,revision2,peg_revision, @@ -68,7 +68,7 @@ namespace svn const Revision & revision1, const Revision & revision2, const Revision& peg_revision, Depth depth, const bool ignoreAncestry, const bool noDiffDeleted,const bool ignore_contenttype, - const StringArray&extra,const StringArray&changelists) throw (ClientException) + const StringArray&extra,const StringArray&changelists) { Pool pool; svn_error_t * error; @@ -119,7 +119,7 @@ namespace svn Client_impl::diff (const Path & tmpPath, const Path & path1,const Path&path2,const Path&relativeTo, const Revision & revision1, const Revision & revision2, Depth depth, const bool ignoreAncestry, - const bool noDiffDeleted,const bool ignore_contenttype) throw (ClientException) + const bool noDiffDeleted,const bool ignore_contenttype) { return diff(tmpPath,path1,path2,relativeTo, revision1,revision2, @@ -132,7 +132,7 @@ namespace svn const Revision & revision1, const Revision & revision2, Depth depth, const bool ignoreAncestry, const bool noDiffDeleted,const bool ignore_contenttype, - const StringArray&extra,const StringArray&changelists) throw (ClientException) + const StringArray&extra,const StringArray&changelists) { Pool pool; diff --git a/src/svnqt/client_impl.h b/src/svnqt/client_impl.h index bf01d98..a817b69 100644 --- a/src/svnqt/client_impl.h +++ b/src/svnqt/client_impl.h @@ -126,7 +126,7 @@ namespace svn const Revision revision = svn::Revision::HEAD, bool detailed_remote = false, bool hide_externals = false, - const StringArray & changelists=StringArray()) throw (ClientException); + const StringArray & changelists=StringArray()); /** * Returns the status of a single file in the path. @@ -139,7 +139,7 @@ namespace svn * @return a Status with Statis.isVersioned = FALSE */ virtual StatusPtr - singleStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD) throw (ClientException); + singleStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD); /** * Executes a revision checkout. @@ -159,7 +159,7 @@ namespace svn svn::Depth depth=DepthInfinity, bool ignore_externals=false, bool overwrite=false - ) throw (ClientException); + ); /** * relocate wc @a from to @a to @@ -167,7 +167,7 @@ namespace svn */ virtual void relocate (const Path & path, const TQString &from_url, - const TQString &to_url, bool recurse) throw (ClientException); + const TQString &to_url, bool recurse); /** * Sets a single file for deletion. @@ -176,7 +176,7 @@ namespace svn virtual svn::Revision remove (const Path & path, bool force, bool keep_local = true, - const PropertiesMap&revProps = PropertiesMap()) throw (ClientException); + const PropertiesMap&revProps = PropertiesMap()); /** * Sets files for deletion. @@ -189,7 +189,7 @@ namespace svn remove (const Targets & targets, bool force, bool keep_local = true, - const PropertiesMap&revProps = PropertiesMap()) throw (ClientException); + const PropertiesMap&revProps = PropertiesMap()); /** * Reverts a couple of files to a pristiner state. @@ -199,7 +199,7 @@ namespace svn revert (const Targets & targets, Depth depth, const StringArray&changelist=StringArray() - ) throw (ClientException); + ); /** @@ -212,7 +212,7 @@ namespace svn * @exception ClientException * @sa svn::Depth */ - virtual void add (const Path & path, svn::Depth depth,bool force=false, bool no_ignore=false, bool add_parents = true) throw (ClientException); + virtual void add (const Path & path, svn::Depth depth,bool force=false, bool no_ignore=false, bool add_parents = true); /** * Updates the file or directory. @@ -228,7 +228,7 @@ namespace svn virtual Revisions update (const Targets & path, const Revision & revision, Depth depth,bool ignore_externals,bool allow_unversioned, - bool sticky_depth) throw (ClientException); + bool sticky_depth); /** * Retrieves the contents for a specific @a revision of @@ -243,7 +243,7 @@ namespace svn virtual TQByteArray cat (const Path & path, const Revision & revision, - const Revision & peg_revision=svn_opt_revision_unspecified) throw (ClientException); + const Revision & peg_revision=svn_opt_revision_unspecified); /** * Retrieves the contents for a specific @a revision of * a @a path at @a peg_revision @@ -258,7 +258,7 @@ namespace svn cat(svn::stream::SvnStream&buffer, const Path & path, const Revision & revision, - const Revision & peg_revision) throw (ClientException); + const Revision & peg_revision); /** * Retrieves the contents for a specific @a revision of @@ -274,7 +274,7 @@ namespace svn get (const Path & path, const TQString & target, const Revision & revision, - const Revision & peg_revision=svn_opt_revision_unspecified) throw (ClientException); + const Revision & peg_revision=svn_opt_revision_unspecified); /** * Retrieves the contents for a specific @a revision of @@ -295,7 +295,7 @@ namespace svn const DiffOptions&diffoptions = DiffOptions(), bool ignore_mimetypes = false, bool include_merged_revisions = false - ) throw (ClientException); + ); /** * Commits changes to the repository. This usually requires @@ -316,7 +316,7 @@ namespace svn const svn::StringArray&changelist=svn::StringArray(), const PropertiesMap&revProps=PropertiesMap(), bool keep_changelist=false - ) throw (ClientException); + ); /** * Copies a versioned file with the history preserved. @@ -325,7 +325,7 @@ namespace svn virtual svn::Revision copy (const Path & srcPath, const Revision & srcRevision, - const Path & destPath) throw (ClientException); + const Path & destPath); /** * Copies a versioned file with the history preserved. * @since subversion 1.5 api @@ -337,7 +337,7 @@ namespace svn const Revision & srcRevision, const Revision & pegRevision, const Path & destPath, - bool asChild=false,bool makeParent=false,const PropertiesMap&revProps=PropertiesMap()) throw (ClientException); + bool asChild=false,bool makeParent=false,const PropertiesMap&revProps=PropertiesMap()); /** * Moves or renames a file. @@ -346,7 +346,7 @@ namespace svn virtual svn::Revision move (const Path & srcPath, const Path & destPath, - bool force) throw (ClientException); + bool force); /** * Moves or renames a file. @@ -355,7 +355,7 @@ namespace svn virtual svn::Revision move (const Targets & srcPath, const Path & destPath, - bool force,bool asChild,bool makeParent,const PropertiesMap&revProps=PropertiesMap()) throw (ClientException); + bool force,bool asChild,bool makeParent,const PropertiesMap&revProps=PropertiesMap()); /** * Creates a directory directly in a repository or creates a @@ -372,7 +372,7 @@ namespace svn const TQString& message, bool makeParent=true, const PropertiesMap&revProps=PropertiesMap() - ) throw (ClientException); + ); /** * Creates a directory directly in a repository or creates a * directory on disk and schedules it for addition. If <i>path</i> @@ -388,7 +388,7 @@ namespace svn const TQString& message, bool makeParent=true, const PropertiesMap&revProps=PropertiesMap() - ) throw (ClientException); + ); /** * Recursively cleans up a local directory, finishing any @@ -397,13 +397,13 @@ namespace svn * @exception ClientException */ virtual void - cleanup (const Path & path) throw (ClientException); + cleanup (const Path & path); /** * Removes the 'conflicted' state on a file. * @exception ClientException */ - virtual void resolve (const Path & path,Depth depth,const ConflictResult&resolution=ConflictResult()) throw (ClientException); + virtual void resolve (const Path & path,Depth depth,const ConflictResult&resolution=ConflictResult()); /** * Exports the contents of either a subversion repository into a @@ -428,7 +428,7 @@ namespace svn const TQString&native_eol=TQString(), bool ignore_externals = false, svn::Depth depth=svn::DepthInfinity - ) throw (ClientException); + ); /** * Update local copy to mirror a new url. This excapsulates the @@ -444,7 +444,7 @@ namespace svn bool sticky_depth = true, bool ignore_externals=false, bool allow_unversioned=false - ) throw (ClientException); + ); /** * Import file or directory PATH into repository directory URL at @@ -462,7 +462,7 @@ namespace svn const TQString& message, svn::Depth depth, bool no_ignore,bool no_unknown_nodetype, - const PropertiesMap&revProps=PropertiesMap()) throw (ClientException); + const PropertiesMap&revProps=PropertiesMap()); /** * Merge changes from two paths into a new local path. @@ -477,7 +477,7 @@ namespace svn bool dry_run=false, bool record_only=false, const StringArray&merge_options=StringArray() - ) throw (ClientException); + ); virtual void merge_peg(const Path&src, @@ -490,7 +490,7 @@ namespace svn bool force=false, bool record_only=false, const StringArray&merge_options=StringArray() - ) throw (ClientException); + ); virtual void merge_peg(const Path&src, @@ -502,7 +502,7 @@ namespace svn bool dry_run, bool force, const StringArray&merge_options - ) throw (ClientException); + ); /** * Retrieve information for the given path @@ -522,7 +522,7 @@ namespace svn const Revision & rev, const Revision & peg_revision=svn_opt_revision_unspecified, const StringArray&changelists=StringArray() - ) throw (ClientException); + ); /** * Retrieve log information for the given path * Loads the log messages result set. The first @@ -549,7 +549,7 @@ namespace svn bool strictNodeHistory=true,int limit=0, bool include_merged_revisions = false, const StringArray&revprops=StringArray() - ) throw (ClientException); + ); /** * Retrieve log information for the given path * Loads the log messages result set. Result will stored @@ -577,7 +577,7 @@ namespace svn bool strictNodeHistory,int limit, bool include_merged_revisions = false, const StringArray&revprops=StringArray() - ) throw (ClientException); + ); /** * Produce diff output which describes the delta between @@ -610,7 +610,7 @@ namespace svn const StringArray&extra, const StringArray&changelists ) - throw (ClientException); + ; /** * Same as other diff but extra options and changelists always set to empty list. @@ -620,7 +620,7 @@ namespace svn const Revision & revision1, const Revision & revision2, const Revision& peg_revision, Depth depth, bool ignoreAncestry, bool noDiffDeleted,bool ignore_contenttype) - throw (ClientException); + ; /** * Produce diff output which describes the delta between @@ -654,7 +654,7 @@ namespace svn const StringArray&extra, const StringArray&changelists ) - throw (ClientException); + ; /** * Same as other diff but extra options always set to empty list. @@ -664,7 +664,7 @@ namespace svn const Revision & revision1, const Revision & revision2, Depth depth, bool ignoreAncestry, bool noDiffDeleted,bool ignore_contenttype) - throw (ClientException); + ; /** * lists entries in @a pathOrUrl no matter whether local or @@ -682,7 +682,7 @@ namespace svn list (const Path& pathOrUrl, const Revision& revision, const Revision& peg, - svn::Depth depth,bool retrieve_locks) throw (ClientException); + svn::Depth depth,bool retrieve_locks); /** * lists properties in @a path no matter whether local or @@ -830,7 +830,7 @@ namespace svn virtual void lock (const Targets & targets, const TQString& message, - bool steal_lock) throw (ClientException); + bool steal_lock); /** * unlock files in repository or working copy * @param targets items to unlock @@ -838,7 +838,7 @@ namespace svn */ virtual void unlock (const Targets&targets, - bool break_lock) throw (ClientException); + bool break_lock); virtual void url2Revision(const TQString&revstring, @@ -875,12 +875,12 @@ namespace svn list_simple(const Path& pathOrUrl, const Revision& revision, const Revision& peg, - bool recurse) throw (ClientException); + bool recurse); DirEntries list_locks(const Path& pathOrUrl, const Revision& revision, const Revision& peg, - bool recurse) throw (ClientException); + bool recurse); svn_error_t * internal_cat(const Path & path, const Revision & revision, diff --git a/src/svnqt/client_lock.cpp b/src/svnqt/client_lock.cpp index 812c678..18357d5 100644 --- a/src/svnqt/client_lock.cpp +++ b/src/svnqt/client_lock.cpp @@ -34,7 +34,7 @@ namespace svn void Client_impl::lock (const Targets & targets, const TQString& message, - bool steal_lock) throw (ClientException) + bool steal_lock) { Pool pool; svn_error_t * error = @@ -49,7 +49,7 @@ namespace svn void Client_impl::unlock (const Targets&targets, - bool break_lock) throw (ClientException) + bool break_lock) { Pool pool; svn_error_t * error = diff --git a/src/svnqt/client_ls.cpp b/src/svnqt/client_ls.cpp index 46b3536..60bc31a 100644 --- a/src/svnqt/client_ls.cpp +++ b/src/svnqt/client_ls.cpp @@ -53,7 +53,7 @@ namespace svn Client_impl::list_simple(const Path& _p, const Revision& revision, const Revision& peg, - bool recurse) throw (ClientException) + bool recurse) { Pool pool; @@ -102,7 +102,7 @@ namespace svn Client_impl::list_locks(const Path& pathOrUrl, const Revision& revision, const Revision& peg, - bool recurse) throw (ClientException) + bool recurse) { Pool pool; @@ -174,7 +174,7 @@ namespace svn Client_impl::list(const Path& pathOrUrl, const Revision& revision, const Revision& peg, - Depth depth,bool retrieve_locks) throw (ClientException) + Depth depth,bool retrieve_locks) { #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 4)) || (SVN_VER_MAJOR > 1) diff --git a/src/svnqt/client_merge.cpp b/src/svnqt/client_merge.cpp index a067244..feb846c 100644 --- a/src/svnqt/client_merge.cpp +++ b/src/svnqt/client_merge.cpp @@ -22,7 +22,7 @@ void Client_impl::merge (const Path & path1, const Revision & revision1, bool dry_run, bool record_only, const StringArray&merge_options - ) throw (ClientException) + ) { Pool pool; svn_error_t * error = 0; @@ -87,7 +87,7 @@ void Client_impl::merge (const Path & path1, const Revision & revision1, bool force, bool record_only, const StringArray&merge_options - ) throw (ClientException) + ) { #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 5)) || (SVN_VER_MAJOR > 1) Pool pool; @@ -129,7 +129,7 @@ void Client_impl::merge (const Path & path1, const Revision & revision1, bool dry_run, bool force, const StringArray&merge_options - ) throw (ClientException) + ) { #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 5)) || (SVN_VER_MAJOR > 1) RevisionRanges ranges; diff --git a/src/svnqt/client_modify.cpp b/src/svnqt/client_modify.cpp index dc0174d..365e6eb 100644 --- a/src/svnqt/client_modify.cpp +++ b/src/svnqt/client_modify.cpp @@ -53,7 +53,7 @@ namespace svn svn::Depth depth, bool ignore_externals, bool overwrite - ) throw (ClientException) + ) { Pool subPool; svn_revnum_t revnum = 0; @@ -90,7 +90,7 @@ namespace svn Revision Client_impl::remove (const Path & path,bool force, bool keep_local, - const PropertiesMap&revProps) throw (ClientException) + const PropertiesMap&revProps) { Targets targets (path.path()); return remove(targets,force,keep_local,revProps); @@ -101,7 +101,7 @@ namespace svn bool force, bool keep_local, const PropertiesMap&revProps - ) throw (ClientException) + ) { Pool pool; @@ -141,7 +141,7 @@ namespace svn Client_impl::revert (const Targets & targets, Depth depth, const StringArray&changelist - ) throw (ClientException) + ) { Pool pool; @@ -169,7 +169,7 @@ namespace svn void Client_impl::add (const Path & path, - svn::Depth depth,bool force, bool no_ignore, bool add_parents) throw (ClientException) + svn::Depth depth,bool force, bool no_ignore, bool add_parents) { Pool pool; #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 5)) || (SVN_VER_MAJOR > 1) @@ -202,7 +202,7 @@ namespace svn bool ignore_externals, bool allow_unversioned, bool sticky_depth - ) throw (ClientException) + ) { Pool pool; Revisions resulting; @@ -241,7 +241,7 @@ namespace svn svn::Depth depth,bool keep_locks, const svn::StringArray&changelist, const PropertiesMap&revProps, - bool keep_changelist) throw (ClientException) + bool keep_changelist) { Pool pool; @@ -292,7 +292,7 @@ namespace svn const Path & destPath, bool asChild,bool makeParent, const PropertiesMap&revProps - ) throw (ClientException) + ) { if (srcPaths.size()<1) { @@ -351,7 +351,7 @@ namespace svn Revision Client_impl::copy (const Path & srcPath, const Revision & srcRevision, - const Path & destPath) throw (ClientException) + const Path & destPath) { #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 5)) || (SVN_VER_MAJOR > 1) return copy(srcPath,srcRevision,srcRevision,destPath,true,false); @@ -379,7 +379,7 @@ namespace svn svn::Revision Client_impl::move (const Path & srcPath, const Path & destPath, - bool force) throw (ClientException) + bool force) { #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 5)) || (SVN_VER_MAJOR > 1) @@ -416,7 +416,7 @@ namespace svn bool force, bool asChild, bool makeParent, - const PropertiesMap&revProps) throw (ClientException) + const PropertiesMap&revProps) { #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 5)) || (SVN_VER_MAJOR > 1) Pool pool; @@ -467,7 +467,7 @@ namespace svn const TQString& message, bool makeParent, const PropertiesMap&revProps - ) throw (ClientException) + ) { Targets targets(path.path()); return mkdir(targets,message,makeParent,revProps); @@ -478,7 +478,7 @@ namespace svn const TQString&msg, bool makeParent, const PropertiesMap&revProps - ) throw (ClientException) + ) { Pool pool; m_context->setLogMessage(msg); @@ -515,7 +515,7 @@ namespace svn } void - Client_impl::cleanup (const Path & path) throw (ClientException) + Client_impl::cleanup (const Path & path) { Pool subPool; apr_pool_t * apr_pool = subPool.pool (); @@ -527,7 +527,7 @@ namespace svn throw ClientException (error); } - void Client_impl::resolve(const Path & path,Depth depth,const ConflictResult&resolution) throw (ClientException) + void Client_impl::resolve(const Path & path,Depth depth,const ConflictResult&resolution) { Pool pool; #if ((SVN_VER_MAJOR == 1) && (SVN_VER_MINOR >= 5)) || (SVN_VER_MAJOR > 1) @@ -556,7 +556,7 @@ namespace svn bool overwrite, const TQString&native_eol, bool ignore_externals, - svn::Depth depth) throw (ClientException) + svn::Depth depth) { Pool pool; svn_revnum_t revnum = 0; @@ -608,7 +608,7 @@ namespace svn bool sticky_depth, bool ignore_externals, bool allow_unversioned - ) throw (ClientException) + ) { Pool pool; svn_revnum_t revnum = 0; @@ -655,7 +655,7 @@ namespace svn svn::Depth depth, bool no_ignore,bool no_unknown_nodetype, const PropertiesMap&revProps - ) throw (ClientException) + ) { svn_commit_info_t *commit_info = NULL; @@ -698,7 +698,7 @@ namespace svn Client_impl::relocate (const Path & path, const TQString& from_url, const TQString& to_url, - bool recurse) throw (ClientException) + bool recurse) { Pool pool; svn_error_t * error = diff --git a/src/svnqt/client_status.cpp b/src/svnqt/client_status.cpp index ff75d25..e007d78 100644 --- a/src/svnqt/client_status.cpp +++ b/src/svnqt/client_status.cpp @@ -398,7 +398,7 @@ namespace svn const Revision revision, bool detailed_remote, const bool hide_externals, - const StringArray & changelists) throw (ClientException) + const StringArray & changelists) { if (Url::isValid (path.path())) { return remoteStatus (this, path, depth, get_all, update, @@ -483,7 +483,7 @@ namespace svn } StatusPtr - Client_impl::singleStatus (const Path& path,bool update,const Revision revision) throw (ClientException) + Client_impl::singleStatus (const Path& path,bool update,const Revision revision) { if (Url::isValid (path.path())) return remoteSingleStatus (this, path,revision, m_context); @@ -500,7 +500,7 @@ namespace svn bool strictNodeHistory,int limit, bool include_merged_revisions, const StringArray&revprops - ) throw (ClientException) + ) { Targets target(path); Pool pool; @@ -573,7 +573,7 @@ namespace svn bool strictNodeHistory,int limit, bool include_merged_revisions, const StringArray&revprops - ) throw (ClientException) + ) { Targets target(path); Pool pool; @@ -647,7 +647,7 @@ namespace svn const Revision & rev, const Revision & peg_revision, const StringArray&changelists - ) throw (ClientException) + ) { InfoEntries ientries; diff --git a/src/svnqt/repository.cpp b/src/svnqt/repository.cpp index 9bb2a4f..ed8d9b3 100644 --- a/src/svnqt/repository.cpp +++ b/src/svnqt/repository.cpp @@ -39,7 +39,7 @@ Repository::~Repository() /*! \fn svn::Repository::Open(const TQString&) */ -void Repository::Open(const TQString&name) throw (ClientException) +void Repository::Open(const TQString&name) { svn_error_t * error = m_Data->Open(name); if (error!=0) { @@ -47,7 +47,7 @@ void Repository::Open(const TQString&name) throw (ClientException) } } -void Repository::CreateOpen(const TQString&path, const TQString&fstype, bool _bdbnosync, bool _bdbautologremove, bool _pre_1_4_compat, bool _pre_1_5_compat) throw (ClientException) +void Repository::CreateOpen(const TQString&path, const TQString&fstype, bool _bdbnosync, bool _bdbautologremove, bool _pre_1_4_compat, bool _pre_1_5_compat) { svn_error_t * error = m_Data->CreateOpen(path,fstype,_bdbnosync,_bdbautologremove,_pre_1_4_compat,_pre_1_5_compat); if (error!=0) { @@ -57,9 +57,9 @@ void Repository::CreateOpen(const TQString&path, const TQString&fstype, bool _bd /*! - \fn svn::Repository::dump(const TQString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas)throw (ClientException) + \fn svn::Repository::dump(const TQString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas) */ -void Repository::dump(const TQString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas)throw (ClientException) +void Repository::dump(const TQString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas) { svn_error_t * error = m_Data->dump(output,start,end,incremental,use_deltas); if (error!=0) { @@ -67,7 +67,7 @@ void Repository::dump(const TQString&output,const svn::Revision&start,const svn: } } -void Repository::loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&parentFolder, bool usePre, bool usePost)throw (ClientException) +void Repository::loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&parentFolder, bool usePre, bool usePost) { svn_repos_load_uuid uuid_action; switch (uuida) { @@ -91,7 +91,7 @@ void Repository::loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&pa /*! \fn svn::Repository::hotcopy(const TQString&src,const TQString&dest,bool cleanlogs) */ -void Repository::hotcopy(const TQString&src,const TQString&dest,bool cleanlogs)throw (ClientException) +void Repository::hotcopy(const TQString&src,const TQString&dest,bool cleanlogs) { svn_error_t * error = RepositoryData::hotcopy(src,dest,cleanlogs); if (error!=0) { diff --git a/src/svnqt/repository.h b/src/svnqt/repository.h index 05913b2..ddff4f6 100644 --- a/src/svnqt/repository.h +++ b/src/svnqt/repository.h @@ -63,7 +63,7 @@ public: \param path Path to a local repository, must not be an url \exception ClientException will be thrown in case of an error */ - void Open(const TQString&path) throw (ClientException); + void Open(const TQString&path); //! Creates and open a new repository /*! * Creates a new repository in path with type fstype. If create succeeded open and assigns with the object. @@ -75,7 +75,7 @@ public: * \param _pre_1_4_compat Create repository compatibel to version earlier than 1.4 (only used with subversion 1.4) */ void CreateOpen(const TQString&path, const TQString&fstype, bool _bdbnosync = false, - bool _bdbautologremove = true, bool _pre_1_4_compat=false, bool _pre_1_5_compat=false) throw (ClientException); + bool _bdbautologremove = true, bool _pre_1_4_compat=false, bool _pre_1_5_compat=false); //! dump content of repository to a file /*! The repository must opend before. Progress message go trough the assigned svn::repository::RepositoryListener object. @@ -87,7 +87,7 @@ public: \param use_deltas use deltas in dump output \exception ClientException will be thrown in case of an error */ - void dump(const TQString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas)throw (ClientException); + void dump(const TQString&output,const svn::Revision&start,const svn::Revision&end, bool incremental, bool use_deltas); //! load a dump into repository /*! The repository must opened before. Progress message go trough the assigned svn::repository::RepositoryListener object. @@ -98,7 +98,7 @@ public: \param usePost use post-commit-hook \exception ClientException will be thrown in case of an error */ - void loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&parentFolder, bool usePre, bool usePost)throw (ClientException); + void loaddump(const TQString&dump,LOAD_UUID uuida, const TQString&parentFolder, bool usePre, bool usePost); //! copy a repository to a new location /*! \param src the repository path to copy @@ -106,7 +106,7 @@ public: \param cleanlogs remove redundand log files from source \exception ClientException will be thrown in case of an error */ - static void hotcopy(const TQString&src,const TQString&dest,bool cleanlogs)throw (ClientException); + static void hotcopy(const TQString&src,const TQString&dest,bool cleanlogs); private: RepositoryData*m_Data; diff --git a/src/svnqt/wc.cpp b/src/svnqt/wc.cpp index 8ed0514..74fec77 100644 --- a/src/svnqt/wc.cpp +++ b/src/svnqt/wc.cpp @@ -62,7 +62,7 @@ namespace svn void Wc::ensureAdm (const TQString& dir, const TQString& uuid, - const TQString& url, const Revision & revision) throw (ClientException) + const TQString& url, const Revision & revision) { Pool pool; Path dirPath (dir); @@ -79,7 +79,7 @@ namespace svn throw ClientException (error); } - const svn_wc_entry_t *Wc::getEntry( const TQString &path ) throw ( ClientException ) + const svn_wc_entry_t *Wc::getEntry( const TQString &path ) { Pool pool; Path itemPath(path); @@ -101,7 +101,7 @@ namespace svn return entry; } - TQString Wc::getUrl(const TQString&path) throw (ClientException) + TQString Wc::getUrl(const TQString&path) { TQString result = ""; const svn_wc_entry_t *entry; @@ -111,7 +111,7 @@ namespace svn return result; } - TQString Wc::getRepos(const TQString&path) throw (ClientException) + TQString Wc::getRepos(const TQString&path) { TQString result = ""; const svn_wc_entry_t *entry; diff --git a/src/svnqt/wc.h b/src/svnqt/wc.h index fa41c2d..7f8c1fe 100644 --- a/src/svnqt/wc.h +++ b/src/svnqt/wc.h @@ -71,19 +71,19 @@ namespace svn */ static void ensureAdm (const TQString& dir, const TQString& uuid, - const TQString& url, const Revision & revision) throw (ClientException); + const TQString& url, const Revision & revision); /** * retrieve the url of a given working copy item * @param path the working copy item to check * @return the repository url of @a path */ - static TQString getUrl(const TQString&path) throw (ClientException); - static TQString getRepos(const TQString&path) throw (ClientException); + static TQString getUrl(const TQString&path); + static TQString getRepos(const TQString&path); static const char * ADM_DIR_NAME; private: - static const svn_wc_entry_t *getEntry( const TQString &path ) throw ( ClientException ); + static const svn_wc_entry_t *getEntry( const TQString &path ); }; } |