From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: Git mirror - bidrectional Date: Wed, 13 Jan 2010 14:16:22 -0500 Message-ID: References: <877hs6bavz.fsf@catnip.gol.com> <2ACCA862-B70E-4D57-AF88-B36E6DF62FE1@gmail.com> <50BB0D44-FCA5-40C1-BDF7-87D1EE77551D@raeburn.org> <2159406C-36DD-4254-BE2A-E3EFCB32013B@gmail.com> <87vdf60vw1.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-68--512342006" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1263410220 953 80.91.229.12 (13 Jan 2010 19:17:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 19:17:00 +0000 (UTC) Cc: Ken Raeburn , "emacs-devel@gnu.org discussions" To: Stephen J. Turnbull Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 13 20:16:52 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NV8i2-0005Te-84 for ged-emacs-devel@m.gmane.org; Wed, 13 Jan 2010 20:16:50 +0100 Original-Received: from localhost ([127.0.0.1]:45096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV8i2-0003sb-SL for ged-emacs-devel@m.gmane.org; Wed, 13 Jan 2010 14:16:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NV8hw-0003sG-17 for emacs-devel@gnu.org; Wed, 13 Jan 2010 14:16:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NV8hp-0003qk-Sn for emacs-devel@gnu.org; Wed, 13 Jan 2010 14:16:42 -0500 Original-Received: from [199.232.76.173] (port=34456 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV8hp-0003qg-Ft for emacs-devel@gnu.org; Wed, 13 Jan 2010 14:16:37 -0500 Original-Received: from ey-out-1920.google.com ([74.125.78.150]:25937) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NV8hp-0007Jd-3Y for emacs-devel@gnu.org; Wed, 13 Jan 2010 14:16:37 -0500 Original-Received: by ey-out-1920.google.com with SMTP id 4so4197651eyg.34 for ; Wed, 13 Jan 2010 11:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-pgp-agent:x-mailer; bh=sjbrjb6YQSSigtF1/E6rDkGrTGyrGjIVZMDy6ZsYNUU=; b=gczxxeQ1QaSQhzmRRkc46xEQRtJVUxQRXSy0E4gsWZ7lgrxp9uUupZekWhNoqtVcOw wchSCl8tNfa4SV609Qz/GS/tZUmT2NiKNT94NrFUa12dBqhdFCP/D0CBxzGxhHqWvhGS qss4GtQQRH9ZHgCS6Ge0AxizwVIRjJu5nRqMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-pgp-agent :x-mailer; b=INX/ft9T4WPLkZ9qpUUjj08NicRzpNFmCm1XVCVp03pIWmgd5HnzxpcSssZzmnjdAf rwbzJBJpAaVX42aN/I53BeacD7yraqjyxv94A50bvbp3Jo4kz4xrcbWq30TJfFuJNIGr 2ZVhqP+ewSP7/AV6S5HY7hwmEukrhPmAlSZn8= Original-Received: by 10.213.98.140 with SMTP id q12mr1561221ebn.1.1263410195776; Wed, 13 Jan 2010 11:16:35 -0800 (PST) Original-Received: from ?128.237.239.116? (CMU-365842.WV.CC.CMU.EDU [128.237.239.116]) by mx.google.com with ESMTPS id 5sm14319510eyh.24.2010.01.13.11.16.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 11:16:33 -0800 (PST) In-Reply-To: <87vdf60vw1.fsf@uwakimon.sk.tsukuba.ac.jp> X-Pgp-Agent: GPGMail 1.2.3 X-Mailer: Apple Mail (2.1077) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119925 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-68--512342006 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jan 13, 2010, at 12:14 PM, Stephen J. Turnbull wrote: > The main thing that worries me in any such process is that bzr can > take a relatively long time to do a push. Indeed, anything more than a few seconds would seem unusual if not = unacceptable to the typical busy Git user. The alternative would be to do it asynchronously and undo the push if it = fails (a "git reset" is trivial). The user could then only be notified by e-mail. Perhaps the first option can be tried to see what the delay is. >> What happens when the changes that originated on the git side are >> re-imported to the git repository? Would we get double revisions? >=20 > I think not. This is the point of the fastimport format. Although > it's possible that some metadata present in git objects is not > supplied by bzr. In that case you would. >=20 >> Also, would importing sidestep the new revisions on the git side >> because the "marks" file points to an earlier previous revision? >=20 > I don't understand precisely what you mean by "importing", "sidestep", > or "new revisions on the git side". OK, if the fastimport mechanism aligns revisions in both directions then = that's not going to be a problem: from the fast-export man page: " Any commits that have already been marked will not be exported again. = If the backend uses a similar --import-marks file, this allows for incremental bidirectional exporting of = the repository by keeping the marks the same across runs." As a next step, could somebody with access to Bzr and the "marks" used = for the `cz' mirror try out the export and the commit hook? --Apple-Mail-68--512342006 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.12 (Darwin) iEYEARECAAYFAktOHAsACgkQYotoJUVQB4KEjgCg1ipdlfxuSo19vtOgeOu7KcHa JbsAnRp0VXCT199VpXvOSwWG34+rXefl =ACuO -----END PGP SIGNATURE----- --Apple-Mail-68--512342006--