From 1adce71880fffe22d54e06bad8b13aa2e6d6b035 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 23 May 2011 01:34:50 -0700 Subject: Repo creation fucks up too much saved state; return a fresh object. --- libpiny/lib/Piny/Repo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpiny/lib') diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index 4afcf4f..d25c3e7 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -437,7 +437,7 @@ sub create { $repo->rebuild_ikiwiki; }; - return $repo; + return $class->new( $name ); }; # Builder methods -- cgit v1.2.3