From 7ba210f89ae0ff56b00e5282ab5f072e1abeac74 Mon Sep 17 00:00:00 2001 From: vrana Date: Wed, 22 Aug 2012 15:27:13 -0700 Subject: [PATCH] Create v2 libraries Summary: This is how it looks like now: > What do you want to name this library? x > Writing '__phutil_library_init__.php' to 'x/__phutil_library_init__.php'... > Usage Exception: This library is using libphutil v1, which is no longer supported. Run 'arc liberate --upgrade' to upgrade to v2. Test Plan: $ arc liberate # in new dir Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3368 --- src/workflow/ArcanistLiberateWorkflow.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/workflow/ArcanistLiberateWorkflow.php b/src/workflow/ArcanistLiberateWorkflow.php index b2713c76..3b63d100 100644 --- a/src/workflow/ArcanistLiberateWorkflow.php +++ b/src/workflow/ArcanistLiberateWorkflow.php @@ -122,6 +122,7 @@ EOTEXT echo "No library currently exists at that path...\n"; $this->liberateCreateDirectory($path); $this->liberateCreateLibrary($path); + return; } } @@ -227,8 +228,9 @@ EOTEXT "liberateVersion2($path); } -- 2.43.0