[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The Gnus repository is switching to Git as of 2010-04-19
From: |
Stefan Monnier |
Subject: |
Re: The Gnus repository is switching to Git as of 2010-04-19 |
Date: |
Tue, 20 Apr 2010 11:00:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> git-bzr supports push and pull (bzr-git only supports pull) so maybe it
> makes sense to put the magic on the Git side.
git-bzr might be a good choice for the "magic" part, yes.
> IOW, instead of massaging the file locations in the for-emacs
> branch, I could assemble a map of "gnus-file-name <-> emacs-file-name"
> for all the files that need to be synchronized and then only look at
> commits that involve those files. So the "magic" would not only
> synchronize but also translate and make rearranging the files
> unnecessary.
The "rearranging the files" is a simple way to "write" the map of
"gnus-file-name <-> emacs-file-name". Bzr handles file renaming very
well, so if you do the renaming on the Bzr side, I think it'll work OK.
It doesn't handle removals as well (resulting in conflicts when you
merge changes to the removed file), but it shouldn't be too hard to cook
up a script which will resolve those conflicts automatically.
Since this will involve renaming of all files, the support for renaming
will be important. If Git handles renames as well as Bzr in such
a case, then it doesn't matter where you do the renaming (on the Git or
the Bzr side).
Stefan
- The Gnus repository is switching to Git as of 2010-04-19, Ted Zlatanov, 2010/04/19
- Re: The Gnus repository is switching to Git as of 2010-04-19, Harry Putnam, 2010/04/20
- Message not available
- Re: The Gnus repository is switching to Git as of 2010-04-19, Ted Zlatanov, 2010/04/20
- Re: The Gnus repository is switching to Git as of 2010-04-19,
Stefan Monnier <=
- Re: The Gnus repository is switching to Git as of 2010-04-19, Ted Zlatanov, 2010/04/20
- Re: The Gnus repository is switching to Git as of 2010-04-19, Stefan Monnier, 2010/04/20
- Re: The Gnus repository is switching to Git as of 2010-04-19, Ted Zlatanov, 2010/04/20
- Re: The Gnus repository is switching to Git as of 2010-04-19, Stefan Monnier, 2010/04/20
- Gnus Git synchronization with Emacs Bazaar (was: The Gnus repository is switching to Git as of 2010-04-19), Ted Zlatanov, 2010/04/21
- Gnus Git synchronization with Emacs Bazaar (was: The Gnus repository is switching to Git as of 2010-04-19), Stephen J. Turnbull, 2010/04/21
- Re: The Gnus repository is switching to Git as of 2010-04-19, Stephen J. Turnbull, 2010/04/20
- Re: The Gnus repository is switching to Git as of 2010-04-19, Ted Zlatanov, 2010/04/20
- Re: The Gnus repository is switching to Git as of 2010-04-19, Stephen J. Turnbull, 2010/04/20
- Re: The Gnus repository is switching to Git as of 2010-04-19, Stefan Monnier, 2010/04/20