Mercurial > hgbook
view en/examples/rollback @ 548:9b3cc9f398f9
Finished MQ chapter translation
Added translation term fold
author | Igor TAmara <igor@tamarapatino.org> |
---|---|
date | Sat, 13 Dec 2008 12:23:51 -0500 |
parents | 9094c9fda8ec |
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