hgbook

view en/examples/ch04/diff @ 1114:527b86d55d4a

inotify: update installation information

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
line source
1 #!/bin/bash
3 hg init a
4 cd a
5 echo a > a
6 hg ci -Ama
8 #$ name: rename.basic
10 hg rename a b
11 hg diff
13 #$ name: rename.git
15 hg diff -g
17 #$ name:
19 hg revert -a
20 rm b
22 #$ name: chmod
24 chmod +x a
25 hg st
26 hg diff
28 #$ name: chmod.git
30 hg diff -g