summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Svn.py
diff options
context:
space:
mode:
authorJason Kincl <kincljc@ornl.gov>2012-11-19 10:36:21 -0500
committerJason Kincl <kincljc@ornl.gov>2012-11-19 10:36:21 -0500
commitde0ae51b6dc635a3acd2491d4ca3fd021aa55873 (patch)
treef2d6a01de276c797744748c5c14b0c41b3140155 /src/lib/Bcfg2/Server/Plugins/Svn.py
parent16359ae0f40b80c5ddc5bf495d3c1081bf5b81b3 (diff)
downloadbcfg2-de0ae51b6dc635a3acd2491d4ca3fd021aa55873.tar.gz
bcfg2-de0ae51b6dc635a3acd2491d4ca3fd021aa55873.tar.bz2
bcfg2-de0ae51b6dc635a3acd2491d4ca3fd021aa55873.zip
minor typo and function documentation
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Svn.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Svn.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Svn.py b/src/lib/Bcfg2/Server/Plugins/Svn.py
index ac1c73160..17a275340 100644
--- a/src/lib/Bcfg2/Server/Plugins/Svn.py
+++ b/src/lib/Bcfg2/Server/Plugins/Svn.py
@@ -23,7 +23,8 @@ class Svn(Bcfg2.Server.Plugin.Version):
__vcs_metadata_path__ = ".svn"
def callback_conflict_resolver(self):
- return pysvn.wc_conflict_choice.theirs_full, None, False
+ """PySvn callback function to resolve conflicts"""
+ return pysvn.wc_conflict_choice.theirs_full, None, False
def __init__(self, core, datastore):
Bcfg2.Server.Plugin.Version.__init__(self, core, datastore)
@@ -94,7 +95,7 @@ class Svn(Bcfg2.Server.Plugin.Version):
self.logger.info("Updated %s from revision %s to %s" % \
(self.vcs_root, old_revision, self.revision.number))
return True
-
+
def Commit(self):
"""Svn.Commit() => True|False\nCommit svn repository\n"""
# First try to update