Commit 1ab1381d authored by Christian Loose's avatar Christian Loose
Browse files

* make CVS_SERVER configurable

* added docu

svn path=/trunk/kdesdk/cervisia/; revision=198597
parent d346a305
...@@ -31,6 +31,7 @@ struct Repository::Private ...@@ -31,6 +31,7 @@ struct Repository::Private
QString client; QString client;
QString location; QString location;
QString rsh; QString rsh;
QString server;
int compressionLevel; int compressionLevel;
void readConfig(); void readConfig();
...@@ -52,8 +53,11 @@ void Repository::Private::readConfig() ...@@ -52,8 +53,11 @@ void Repository::Private::readConfig()
compressionLevel = config->readNumEntry("Compression", 0); compressionLevel = config->readNumEntry("Compression", 0);
} }
// get shell command to access the remote repository // get remote shell client to access the remote repository
rsh = config->readEntry("rsh", QString()); rsh = config->readEntry("rsh");
// get program to start on the server side
server = config->readEntry("cvs_server");
// get path to cvs client programm // get path to cvs client programm
config->setGroup("General"); config->setGroup("General");
...@@ -120,3 +124,9 @@ QString Repository::rsh() const ...@@ -120,3 +124,9 @@ QString Repository::rsh() const
{ {
return d->rsh; return d->rsh;
} }
QString Repository::server() const
{
return d->server;
}
...@@ -52,8 +52,23 @@ public: ...@@ -52,8 +52,23 @@ public:
*/ */
QString location() const; QString location() const;
/**
* Remote shell command line client which should be used to
* access the remote cvs repository, when :ext: access method
* is specified. ($CVS_RSH)
*
* @return The remote shell client. Can be null if not set.
*/
QString rsh() const; QString rsh() const;
/**
* Program to start on the server side when accessing a remote
* repository using :ext: access method. ($CVS_SERVER)
*
* @return The server program. Can be null if not set.
*/
QString server() const;
private: private:
struct Private; struct Private;
Private* d; Private* d;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment