hgbook
annotate en/examples/ch04/diff @ 1114:527b86d55d4a
inotify: update installation information
inotify is shipped in Mercurial since 1.0, which greatly simplifies the installation process
inotify is shipped in Mercurial since 1.0, which greatly simplifies the installation process
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sun Dec 13 16:35:56 2009 +0900 (2009-12-13) |
parents | |
children |
rev | line source |
---|---|
bos@683 | 1 #!/bin/bash |
bos@683 | 2 |
bos@683 | 3 hg init a |
bos@683 | 4 cd a |
bos@683 | 5 echo a > a |
bos@683 | 6 hg ci -Ama |
bos@683 | 7 |
bos@683 | 8 #$ name: rename.basic |
bos@683 | 9 |
bos@683 | 10 hg rename a b |
bos@683 | 11 hg diff |
bos@683 | 12 |
bos@683 | 13 #$ name: rename.git |
bos@683 | 14 |
bos@683 | 15 hg diff -g |
bos@683 | 16 |
bos@683 | 17 #$ name: |
bos@683 | 18 |
bos@683 | 19 hg revert -a |
bos@683 | 20 rm b |
bos@683 | 21 |
bos@683 | 22 #$ name: chmod |
bos@683 | 23 |
bos@683 | 24 chmod +x a |
bos@683 | 25 hg st |
bos@683 | 26 hg diff |
bos@683 | 27 |
bos@683 | 28 #$ name: chmod.git |
bos@683 | 29 |
bos@683 | 30 hg diff -g |