view en/examples/ch04/diff @ 838:d1f676a6a4b3 default tip

update mq chapter. propagate ef53d025f410.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 03 Dec 2009 01:26:08 +0900
parents 1a0a78e197c3
children
line wrap: on
line source

#!/bin/bash

hg init a
cd a
echo a > a
hg ci -Ama

#$ name: rename.basic

hg rename a b
hg diff

#$ name: rename.git

hg diff -g

#$ name:

hg revert -a
rm b

#$ name: chmod

chmod +x a
hg st
hg diff

#$ name: chmod.git

hg diff -g