From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: need help adjusting workflow to git (or vice versa) Date: Sat, 15 Nov 2014 23:24:51 +0100 Message-ID: <87lhncayq4.fsf@rosalinde.fritz.box> References: <87zjbvt8o3.fsf@rosalinde.fritz.box> <5464DC5F.8070607@gmx.at> <87oasaubfc.fsf@rosalinde.fritz.box> <54651045.6080901@cs.ucla.edu> <87k32yu8yh.fsf@rosalinde.fritz.box> <83egt6jqtg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416090339 21644 80.91.229.3 (15 Nov 2014 22:25:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2014 22:25:39 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 15 23:25:31 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xplmd-0004NS-92 for ged-emacs-devel@m.gmane.org; Sat, 15 Nov 2014 23:25:31 +0100 Original-Received: from localhost ([::1]:42230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xplmc-0008Lj-QX for ged-emacs-devel@m.gmane.org; Sat, 15 Nov 2014 17:25:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XplmH-0008K4-68 for emacs-devel@gnu.org; Sat, 15 Nov 2014 17:25:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XplmC-0005tG-18 for emacs-devel@gnu.org; Sat, 15 Nov 2014 17:25:09 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:55833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XplmB-0005qF-OB; Sat, 15 Nov 2014 17:25:03 -0500 Original-Received: from rosalinde.fritz.box ([89.245.115.156]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M1BMy-1Y9N1f3REG-00tAIq; Sat, 15 Nov 2014 23:24:52 +0100 In-Reply-To: <83egt6jqtg.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Nov 2014 07:26:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:V+fuN82GcU+XjxHj7vm6GW6Uyx8qRf/CYDnS0rZlYKRbZwvk2Il hYlIJUDsuYpw1FJivydCNyHQkCghFD+EyCas3pF91Nx+0HGzu7zwDzZ9xHqmeq0qb3qXcnF dD77Mvlm4lHD8qrcU/UszyIDjPa4z/gjbnjD0Y6JhX7NR64lahibPS4YsSU0MILuyR9ApUC ruR1nPk9NETIlTemnNvpg== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177259 Archived-At: On Fri, 14 Nov 2014 07:26:19 +0200 Eli Zaretskii wrote: >> From: Stephen Berman >> Date: Thu, 13 Nov 2014 21:44:22 +0100 >> Cc: emacs-devel@gnu.org >> >> On Thu, 13 Nov 2014 12:10:45 -0800 Paul Eggert wrote: >> >> > On 11/13/2014 11:51 AM, Stephen Berman wrote: >> >> I would be very surprised if either of these approaches is used by most >> >> developers using git, because if so, I'd have expected them to be part >> >> of the standard toolkit and well documented. >> > >> > "git clone" is part of the standard Git toolkit, and is well documented. It's >> > what I use for your scenario, if I understand the scenario correctly. And >> > "git clone" should be fast enough; for Emacs it takes 1.3 seconds on my >> > 3-year-old desktop's hard disk. >> >> That's what Martin referred to, isn't it? > > Yes. > >> It takes considerably longer on my older and feebler hardware, also >> compared with `bzr update' and `bzr pull --overwrite' in a shared >> repository. > > Did you "git clone" from your local repo or from the remote savannah > address? The former should be very fast. I actually didn't realize there was a difference, I assumed cloning grabs the remote source, which in my case takes much longer than 1.3 seconds. >> And the size is also not insignificant, if it means having a copy of >> the entire Emacs repository for each build (~540M). > > I think if you clone locally, git uses hard links for the meta-data > (or maybe it's an optional behavior that you need to activate with > some switch, see the documentation). > >> Is that really the standard procedure? If so, I guess I'll get used >> to it, but it does surprise me. > > Every VCS has its downsides. Bzr had only separate branches > (co-located branches were initially implemented in the last version); > git has only co-located branches. You need to work around that. Yes, there's lots to learn and get used to. Steve Berman