Mercurial > hgbook
view es/examples/rollback @ 533:c847605eb2a9
translated a bit, will stop translating this file until I figure out how to translate the expression "case sensitivity"
author | jerojasro@localhost |
---|---|
date | Mon, 01 Dec 2008 20:56:29 -0500 |
parents | 04c08ad7e92e |
children |
line wrap: on
line source
#!/bin/bash hg init a cd a echo a > a hg ci -A -m 'First commit' echo a >> a #$ name: tip #$ name: commit hg status echo b > b hg commit -m 'Add file b' #$ name: status hg status hg tip #$ name: rollback hg rollback hg tip hg status #$ name: add hg add b hg commit -m 'Add file b, this time for real' #$ name: twice hg rollback hg rollback