Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-undo @ 1530:abfab59fce79
add a releasefn keyword to lock.lock
releasefn is a function that will be executed when the lock is released
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 11 Nov 2005 15:34:09 -0800 |
parents | 0902ffece4b4 |
children | 7544700fd931 |
line wrap: on
line source
#!/bin/sh mkdir t cd t hg init echo a > a hg add a hg commit -m "test" -d "0 0" hg verify hg parents hg status hg undo hg verify hg parents hg status