view 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
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