From ddc5496506f0484e4f1331261aa8782c7e606bf2 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 23 Oct 2009 15:22:07 +0200 Subject: Implemented head methods: create, delete, rename, including tests --- TODO | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 7771cedf..6d548a15 100644 --- a/TODO +++ b/TODO @@ -73,7 +73,7 @@ Refs * Ability to create new heads and tags in the Repository ( but using the respective Reference Type ), i.e. Head.create(repo, name, commit = 'HEAD') or TagReference.create(repo, name -* Ability to rename references and tags +* Ability to rename references and tagsre * Ability to remove references and tags * Ability to checkout a reference - * Check whether we are the active reference HEAD.commit == self.commit @@ -83,6 +83,8 @@ Remote * 'push' method needs a test, a true test repository is required though, a fork of a fork would do :)! * Fetch should return heads that where updated, pull as well. +* Creation and deletion methods for references should be part of the interface, allowing + repo.create_head(...) instaed of Head.create(repo, ...). Its a convenience thing, clearly Repo ---- -- cgit v1.2.3