bos@202: #!/bin/bash bos@202: bos@202: hg init a bos@202: cd a bos@202: echo hello > myfile bos@202: hg commit -A -m 'Initial commit' bos@202: bos@202: #$ name: branches bos@202: bos@203: hg tip bos@202: hg branches bos@203: bos@203: #$ name: branch bos@203: bos@203: hg branch bos@203: bos@203: #$ name: create bos@203: bos@203: hg branch foo bos@203: hg branch bos@203: bos@203: #$ name: status bos@203: bos@203: hg status bos@203: hg tip bos@203: bos@203: #$ name: commit bos@203: bos@203: echo 'hello again' >> myfile bos@203: hg commit -m 'Second commit' bos@203: hg tip