From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Rewriting bzrmerge.el Date: Sun, 23 Nov 2014 17:49:04 +0100 Message-ID: <87fvd96ewv.fsf@fencepost.gnu.org> References: <20141027000718.F09B5382A66@snark.thyrsus.com> <87bno8y0rt.fsf_-_@engster.org> <871tp4xx4i.fsf@engster.org> <87tx20whtq.fsf@engster.org> <87lhn4rx0v.fsf@engster.org> <838uj3tztm.fsf@gnu.org> <87egsvrz6e.fsf@engster.org> <83mw7jrxt9.fsf@gnu.org> <87a93jrw83.fsf@engster.org> <83ioi7rn9o.fsf@gnu.org> <87oarysr3u.fsf@uwakimon.sk.tsukuba.ac.jp> <87siha5oru.fsf@fencepost.gnu.org> <83bnnxsxve.fsf@gnu.org> <87ioi5swao.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416761385 17731 80.91.229.3 (23 Nov 2014 16:49:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2014 16:49:45 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 23 17:49:38 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 1XsaLy-0004Wi-1H for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2014 17:49:38 +0100 Original-Received: from localhost ([::1]:49236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsaLx-000072-HU for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2014 11:49:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsaLg-00006P-KG for emacs-devel@gnu.org; Sun, 23 Nov 2014 11:49:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsaLe-0002Wp-AD for emacs-devel@gnu.org; Sun, 23 Nov 2014 11:49:20 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsaLe-0002Wg-6m for emacs-devel@gnu.org; Sun, 23 Nov 2014 11:49:18 -0500 Original-Received: from localhost ([127.0.0.1]:43213 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsaLd-0003q9-O5; Sun, 23 Nov 2014 11:49:17 -0500 Original-Received: by lola (Postfix, from userid 1000) id 7BA4EDF2B7; Sun, 23 Nov 2014 17:49:04 +0100 (CET) In-Reply-To: <87ioi5swao.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Mon, 24 Nov 2014 01:42:39 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:178094 Archived-At: "Stephen J. Turnbull" writes: > Eli Zaretskii writes: > > > From: David Kastrup > > > Date: Sun, 23 Nov 2014 09:01:25 +0100 > > > > > > "Download the repository twice" seems uncalled for. One can always use > > > > > > git clone --mirror > > > > > > to create the second clone. > > > > But I thought the discussion demonstrated that this command alone does > > not guarantee the second clone will have all the branches. Did I > > misunderstand? > > --mirror does mean it has all branches that are present in the first > clone (including all tracking branches). What it doesn't have is a > checked-out workspace (it's a bare repository). dak@lola:/usr/local/tmp$ git clone --mirror --no-bare lilypond lilypond2/.git Cloning into bare repository 'lilypond2/.git'... done. dak@lola:/usr/local/tmp$ cd lilypond2/ dak@lola:/usr/local/tmp/lilypond2$ ls dak@lola:/usr/local/tmp/lilypond2$ git config core.bare false dak@lola:/usr/local/tmp/lilypond2$ git branch badmike bettertie bookactive chordrootnamer clean-scm [...] but dak@lola:/usr/local/tmp/lilypond2$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false [remote "origin"] url = /usr/local/tmp/lilypond fetch = +refs/*:refs/* mirror = true and I am not really sure what the implications of that are. It's definitely not an equivalent copy... -- David Kastrup