develooper Front page | perl.perl5.porters | Postings from April 2007

Re: [HOWTO] manage blead patches with git+rsync

Thread Previous | Thread Next
Gerard Goossen
April 18, 2007 09:46
Re: [HOWTO] manage blead patches with git+rsync
Message ID:
My mirror update scripts now run in a hourly cron.
Thus you can use 'git://' as remote git branch
to stay up to date with bleadperl:

git clone git://
git checkout bleadperl

The update scripts are slightly modified versions of Sams perl-history-massage.
I haven't had any rsync differences, and they processed the whole change
history without manual intervention.

Gerard Goossen

On Sun, Apr 08, 2007 at 11:30:11PM +0000, Ævar Arnfjörð Bjarmason wrote:
> This is what I now use to manage my patches with Cogito, the git
> mirror + rsync (because the mirror isn't up to date). There are
> probably better ways to do this, such as having a second git
> repository that blead gets synced into that then gets pulled by the
> working repository. But in case anyone finds this useful..:
> cg-clone git:// perl5.git
> rsync -cavz rsync:// perl5.git
> cd perl5.git
> for i in $(cg-status | grep ^\? | sed s/^..//); do cg-add -r $i; done
> cg-commit -m"merged from blead on $(date --iso-8601)"
> *change stuff*
> cg-diff $file

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About