From 968ffb2c2e5c6066a2b01ad2a0833c2800880d46 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 24 Nov 2010 21:33:36 +0100 Subject: Adjusted all Head.create calls to set a logmessage similar to the one git uses --- repo/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repo/base.py') diff --git a/repo/base.py b/repo/base.py index c8613878..e26da101 100644 --- a/repo/base.py +++ b/repo/base.py @@ -274,12 +274,12 @@ class Repo(object): :param path: path to the tag reference, i.e. 0.1.5 or tags/0.1.5 """ return TagReference(self, path) - def create_head(self, path, commit='HEAD', force=False, **kwargs ): + def create_head(self, path, commit='HEAD', force=False, logmsg=None ): """Create a new head within the repository. For more documentation, please see the Head.create method. :return: newly created Head Reference""" - return Head.create(self, path, commit, force, **kwargs) + return Head.create(self, path, commit, force, logmsg) def delete_head(self, *heads, **kwargs): """Delete the given heads -- cgit v1.2.3