comparison en/examples/ch04/diff @ 810:1a0a78e197c3

Incorporate feedback from Greg Lindahl.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 24 Apr 2009 00:27:05 -0700
parents
children
comparison
equal deleted inserted replaced
809:ef53d025f410 810:1a0a78e197c3
1 #!/bin/bash
2
3 hg init a
4 cd a
5 echo a > a
6 hg ci -Ama
7
8 #$ name: rename.basic
9
10 hg rename a b
11 hg diff
12
13 #$ name: rename.git
14
15 hg diff -g
16
17 #$ name:
18
19 hg revert -a
20 rm b
21
22 #$ name: chmod
23
24 chmod +x a
25 hg st
26 hg diff
27
28 #$ name: chmod.git
29
30 hg diff -g