bos@683: #!/bin/bash bos@683: bos@683: hg init a bos@683: cd a bos@683: echo a > a bos@683: hg ci -Ama bos@683: bos@683: #$ name: rename.basic bos@683: bos@683: hg rename a b bos@683: hg diff bos@683: bos@683: #$ name: rename.git bos@683: bos@683: hg diff -g bos@683: bos@683: #$ name: bos@683: bos@683: hg revert -a bos@683: rm b bos@683: bos@683: #$ name: chmod bos@683: bos@683: chmod +x a bos@683: hg st bos@683: hg diff bos@683: bos@683: #$ name: chmod.git bos@683: bos@683: hg diff -g