[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Git mirror - bidrectional
From: |
David Reitter |
Subject: |
Git mirror - bidrectional |
Date: |
Tue, 12 Jan 2010 14:27:58 -0500 |
Does anyone plan to set up facility to make the git mirror writeable and merge
changes into the Bzr branch?
(Changes to ChangeLog files might lead to merge conflicts, but if that is
solved, a bidirectional Git bridge would really be quite useful.)
On Dec 30, 2009, at 8:10 AM, Andreas Schwab wrote:
> 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.
PGP.sig
Description: This is a digitally signed message part
- Git mirror - bidrectional,
David Reitter <=