From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 56D0328538 for ; Tue, 7 Aug 2018 05:14:47 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zP1k1Zkha8UZ for ; Tue, 7 Aug 2018 05:14:47 -0400 (EDT) Received: from smtp52.i.mail.ru (smtp52.i.mail.ru [94.100.177.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 12B8D273AC for ; Tue, 7 Aug 2018 05:14:46 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 4/4] Introduce storage reload evolution References: <1e067dd68d69270ccf5aea2ab73548ebd9a0f2ad.1532940401.git.avkhatskevich@tarantool.org> <3d8a81f7-33a6-bf1d-809f-ae5b95730a64@tarantool.org> <83a958f1-e47c-cf5c-7996-3983b7a28b9f@tarantool.org> <264b6bab-ba8a-2bd4-f730-fe83ad52279b@tarantool.org> <05442d0e-1e82-4b41-1837-dc034b19dd60@tarantool.org> <1bb38219-8713-6f43-fd64-1bda264e0345@tarantool.org> <17f76855-00ca-6db5-bc0d-bb6bcc1d9c7d@tarantool.org> From: Alex Khatskevich Message-ID: <3a8ac4b5-8f11-5812-5d76-be2579e7ee06@tarantool.org> Date: Tue, 7 Aug 2018 12:14:43 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Vladislav Shpilevoy , tarantool-patches@freelists.org >> +... >> +-- Checkout the first commit with a reload_evolution mechanism. >> +git_util.exec('checkout', {args='-f', dir=vshard_copy_path}) >> +--- >> +... >> +git_util.exec('checkout', {args=evolution_log[#evolution_log] .. >> '~1', dir=vshard_copy_path}) > > 1. Why do you need 2 checkouts in a row? I have removed it and nothing > was > changed. Yes. you are right. The first checkout is removed.