hgbook
diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/ch04/diff Sun Dec 13 16:35:56 2009 +0900 1.3 @@ -0,0 +1,30 @@ 1.4 +#!/bin/bash 1.5 + 1.6 +hg init a 1.7 +cd a 1.8 +echo a > a 1.9 +hg ci -Ama 1.10 + 1.11 +#$ name: rename.basic 1.12 + 1.13 +hg rename a b 1.14 +hg diff 1.15 + 1.16 +#$ name: rename.git 1.17 + 1.18 +hg diff -g 1.19 + 1.20 +#$ name: 1.21 + 1.22 +hg revert -a 1.23 +rm b 1.24 + 1.25 +#$ name: chmod 1.26 + 1.27 +chmod +x a 1.28 +hg st 1.29 +hg diff 1.30 + 1.31 +#$ name: chmod.git 1.32 + 1.33 +hg diff -g