diff -r 1b59c4ba121e -r 8cd4d08fa9f6 Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py --- a/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Plugins/VcsPlugins/vcsPySvn/SvnUtilities.py Fri Mar 11 16:51:57 2011 +0100 @@ -13,6 +13,7 @@ import Utilities + def formatTime(seconds): """ Module function to return a formatted time string. @@ -24,6 +25,7 @@ .toTimeSpec(Qt.LocalTime)\ .toString("yyyy-MM-dd hh:mm:ss") + def dateFromTime_t(seconds): """ Module function to return the date. @@ -33,6 +35,7 @@ """ return QDateTime.fromTime_t(int(seconds)).toTimeSpec(Qt.LocalTime).date() + def getServersPath(): """ Public method to get the filename of the servers file. @@ -46,6 +49,7 @@ homedir = Utilities.getHomeDir() return os.path.join(homedir, ".subversion", "servers") + def getConfigPath(): """ Public method to get the filename of the config file.