Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-push-warn @ 1967:72f7a335b955
still use old variable names when running hooks. dropped by accident.
we set HG_FOO (new name) and FOO (old name).
plan is to drop old names after 0.9.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 17 Mar 2006 09:48:43 -0800 |
parents | 7544700fd931 |
children | fc22ed56afe3 |
line wrap: on
line source
#!/bin/sh mkdir a cd a hg init echo foo > t1 hg add t1 hg commit -m "1" -d "1000000 0" cd .. hg clone a b cd a echo foo > t2 hg add t2 hg commit -m "2" -d "1000000 0" cd ../b echo foo > t3 hg add t3 hg commit -m "3" -d "1000000 0" hg push ../a hg pull ../a hg push ../a hg up -m hg commit -m "4" -d "1000000 0" hg push ../a