hgbook

view fr/examples/ch04/diff @ 972:769698b84773

Relecture du chapitre src-install
author Romain PELISSE <belaran@gmail.com>
date Mon Aug 31 16:04:52 2009 +0200 (2009-08-31)
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