From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: David Reitter <david.reitter@gmail.com>
Cc: Ken Raeburn <raeburn@raeburn.org>,
"emacs-devel@gnu.org discussions" <emacs-devel@gnu.org>
Subject: Re: Git mirror - bidrectional
Date: Thu, 14 Jan 2010 02:14:54 +0900 [thread overview]
Message-ID: <87vdf60vw1.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <2159406C-36DD-4254-BE2A-E3EFCB32013B@gmail.com>
David Reitter writes:
> Looking at the documentation, I see that the "update" hook is
> designed to do just that. When a remote repository does a push,
> the new revisions are sent to the repository, but before the ref
> (i.e. branch pointer) is updated, this hook is invoked. It can
> prevent the update to the ref.
Ah, this is better than what I just suggested. The doc for
receive-pack isn't as clear as that for hooks.
The main thing that worries me in any such process is that bzr can
take a relatively long time to do a push.
> 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".
next prev parent reply other threads:[~2010-01-13 17:14 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 [this message]
2010-01-13 19:16 ` David Reitter
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=87vdf60vw1.fsf@uwakimon.sk.tsukuba.ac.jp \
--to=stephen@xemacs.org \
--cc=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=raeburn@raeburn.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.