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
QString client;
QString location;
QString rsh;
QString server;
int compressionLevel;
void readConfig();
......@@ -52,8 +53,11 @@ void Repository::Private::readConfig()
compressionLevel = config->readNumEntry("Compression", 0);
}
// get shell command to access the remote repository
rsh = config->readEntry("rsh", QString());
// get remote shell client to access the remote repository
rsh = config->readEntry("rsh");
// get program to start on the server side
server = config->readEntry("cvs_server");
// get path to cvs client programm
config->setGroup("General");
......@@ -120,3 +124,9 @@ QString Repository::rsh() const
{
return d->rsh;
}
QString Repository::server() const
{
return d->server;
}
......@@ -33,7 +33,7 @@ class Repository
public:
explicit Repository(const QString& workingCopyDir);
~Repository();
void updateConfig();
/**
......@@ -52,8 +52,23 @@ public:
*/
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;
/**
* 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:
struct Private;
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