Comment 11 for bug 1078454

Revision history for this message
Elan Ruusamäe (glen666) wrote :

well. that hook script is not production ready. it requires unreleased eventum supporting multiple scm, i have not tested (nor intended to) with old 2.3 version. the script itself is unfinished, it just copies your logic, with some fixes, but imho that is not correct. it should at least try not to push commits from same action twice. also commit parents may be wrong (just ordering by rev-list seems in correct), and looking at commit parent is also wrong, i.e if there are multiple parents (merges, octopus merges). also i couldn't get rev-list to work for pushing new branches, so i substituted 00000-sha with empty-sha. i have not confirmed is that accurate action to do.

so, you've been warned :) but i don't mind if you test it and give some feedback!