From de0ae51b6dc635a3acd2491d4ca3fd021aa55873 Mon Sep 17 00:00:00 2001 From: Jason Kincl Date: Mon, 19 Nov 2012 10:36:21 -0500 Subject: minor typo and function documentation --- src/lib/Bcfg2/Server/Plugins/Svn.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-1-g7c22