[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Git to manage your Emacs changes
From: |
Thierry Volpiatto |
Subject: |
Re: Using Git to manage your Emacs changes |
Date: |
Wed, 07 Apr 2010 22:37:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Why not using a stack of patchs like stgit or mercurial qpatchs.
You can then apply these patchs to bzr repo.
Giuseppe Scrivano <address@hidden> writes:
> I have some notes on your script:
>
> John Wiegley <address@hidden> writes:
>
>> git checkout ${1:-upstream}
>> git format-patch ..master
>>
>> for i in [0-9]*.patch; do
>> echo Applying $i
>>
>> patch -p1 < $i
>
> I am not sure the script handles added and removed files, probably you
> must explicitly call bzr add|rm.
>
>
>
>> grep ^Subject: $i | sed 's/^Subject: \[PATCH\] //' > /tmp/msg.$$
>>
>> perl -ne 'print if /^$/ .. /^---/;' $i | \
>> perl -ne 'print unless /^---/ .. eof()' | \
>> tail +2 >> /tmp/msg.$$
>
> tail -n +2
>
>
>
>> bzr commit -F /tmp/msg.$$
>
> I think it is desiderable to keep the original author and commit time as
> well.
>
>
> Cheers,
> Giuseppe
>
>
>
>
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/
- Re: Using Git to manage your Emacs changes, (continued)
- Re: Using Git to manage your Emacs changes, Alfred M. Szmidt, 2010/04/24
- Re: Using Git to manage your Emacs changes, Eli Zaretskii, 2010/04/24
- Re: Using Git to manage your Emacs changes, Jason Earl, 2010/04/24
- Re: Using Git to manage your Emacs changes, Stephen J. Turnbull, 2010/04/25
- Re: Using Git to manage your Emacs changes, Karl Fogel, 2010/04/27
- Re: Using Git to manage your Emacs changes, Georg Brandl, 2010/04/25
- Re: Using Git to manage your Emacs changes, Richard Stallman, 2010/04/26
- Re: Using Git to manage your Emacs changes, Eli Zaretskii, 2010/04/26
- Re: Using Git to manage your Emacs changes, Andreas Schwab, 2010/04/21
Re: Using Git to manage your Emacs changes, Giuseppe Scrivano, 2010/04/07
- Re: Using Git to manage your Emacs changes,
Thierry Volpiatto <=
Re: Using Git to manage your Emacs changes, Ken Raeburn, 2010/04/08