Browse Source

a better name for the method

Roopesh Chander 9 years ago
parent
commit
d364a94ffb
3 changed files with 3 additions and 3 deletions
  1. 1 1
      example/main.cpp
  2. 1 1
      src/repository.cpp
  3. 1 1
      src/repository.h

+ 1 - 1
example/main.cpp

@@ -15,7 +15,7 @@ int main(int argc, char *argv[])
         repo->setRemoteUsername(app.arguments().at(1));
         repo->setRemotePassword(app.arguments().at(2));
     }
-    int rev = repo->serverRevisionNumber();
+    int rev = repo->remoteRevisionNumber();
     repo->createBedrockRepository(3 /*svn rev no*/);
     qDebug() << rev;
     /*

+ 1 - 1
src/repository.cpp

@@ -118,7 +118,7 @@ QString Repository::errorMessage(int whichth) const
     return m_errorList.at(whichth).second;
 }
 
-int Repository::serverRevisionNumber()
+int Repository::remoteRevisionNumber()
 {
     if (!ensureSessionReady())
         return -1;

+ 1 - 1
src/repository.h

@@ -29,7 +29,7 @@ public:
     int errorMessagesCount() const;
     QString errorMessage(int whichth = -1) const; // default of -1 gives latest error message
 
-    int serverRevisionNumber();
+    int remoteRevisionNumber();
 
     bool createBedrockRepository(int remoteRevisionNumber);