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

[HOWTO] manage blead patches with git+rsync

Thread Next
Ævar Arnfjörð Bjarmason
April 8, 2007 16:30
[HOWTO] manage blead patches with git+rsync
Message ID:
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 Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About