From: Andreas Schwab <schwab@linux-m68k.org>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: git mirror?
Date: Wed, 30 Dec 2009 14:10:57 +0100 [thread overview]
Message-ID: <m27hs4d2u6.fsf@igel.home> (raw)
In-Reply-To: <877hs6bavz.fsf@catnip.gol.com> (Miles Bader's message of "Tue, 29 Dec 2009 14:35:28 +0900")
Anyone who wants to set up a git mirror can use something like this,
suitably adapted:
test last-run -nt last-run-ready || touch last-run
rsync -av --del bzr.sv.gnu.org:/srv/bzr/emacs/ emacs.bzr/
cd emacs.bzr
for b in *; do
test $b/.bzr/branch/last-revision -ot ../last-run && continue
echo $b
bzr fast-export --marks=../bzr-marks $(test $b != trunk && echo -b $b) $b |
(cd ../emacs.git; git fast-import --export-marks=../git-marks --import-marks=../git-marks)
done
cd ../emacs.git
git push --mirror ssh://repo.or.cz/srv/git/emacs.git
touch ../last-run-ready
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2009-12-30 13:10 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 [this message]
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
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=m27hs4d2u6.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.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.