From: David Reitter <david.reitter@gmail.com>
To: Stephen J. Turnbull <stephen@xemacs.org>
Cc: Ken Raeburn <raeburn@raeburn.org>,
"emacs-devel@gnu.org discussions" <emacs-devel@gnu.org>
Subject: Re: Git mirror - bidrectional
Date: Wed, 13 Jan 2010 14:16:22 -0500 [thread overview]
Message-ID: <E258705C-411D-42B1-835C-55691501740B@gmail.com> (raw)
In-Reply-To: <87vdf60vw1.fsf@uwakimon.sk.tsukuba.ac.jp>
[-- Attachment #1: Type: text/plain, Size: 1641 bytes --]
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?
>
> 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.
>
>> Also, would importing sidestep the new revisions on the git side
>> because the "marks" file points to an earlier previous revision?
>
> 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?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 203 bytes --]
next prev parent reply other threads:[~2010-01-13 19:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-29 5:35 git mirror? Miles Bader
2009-12-29 11:47 ` Andreas Schwab
2009-12-29 18:30 ` Stefan Monnier
2009-12-30 13:17 ` Andreas Schwab
2010-01-05 3:47 ` Miles Bader
2010-01-05 9:24 ` Andreas Schwab
2010-01-05 9:30 ` Miles Bader
2009-12-30 13:10 ` Andreas Schwab
2010-01-12 19:27 ` Git mirror - bidrectional David Reitter
2010-01-13 15:12 ` Ken Raeburn
2010-01-13 16:15 ` David Reitter
2010-01-13 17:14 ` Stephen J. Turnbull
2010-01-13 19:16 ` David Reitter [this message]
2010-01-14 1:58 ` Ken Raeburn
2010-01-14 2:34 ` David Reitter
2010-01-13 16:52 ` Stephen J. Turnbull
2010-01-13 19:28 ` Dan Nicolaescu
2010-01-13 20:42 ` David Reitter
2010-01-14 4:12 ` Stefan Monnier
2010-01-13 23:29 ` Miles Bader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E258705C-411D-42B1-835C-55691501740B@gmail.com \
--to=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=raeburn@raeburn.org \
--cc=stephen@xemacs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.