view tests/test-clone.out @ 650:2c934c7b79dc

Fix bug in reverting deleted files -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fix bug in reverting deleted files Force updates and reverts wouldn't restore deleted files in the working dir. This should fix that. manifest hash: e14809399bbc63da42e8c8f694cc8acf31e537f7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCzjOJywK+sNU5EO8RAqVLAKCC1BF6JhNiO6n4LJGvy9RBTgOelwCdF9Tr sADRnovYt9xSnUGmd1Om9JQ= =SdcP -----END PGP SIGNATURE-----
author Matt Mackall <mpm@selenic.com>
date Fri, 08 Jul 2005 00:04:25 -0800
parents 5d6177b72fcc
children 32f7dc81c07e
line wrap: on
line source

+ mkdir a
+ cd a
+ hg init
+ echo a
+ hg add a
+ hg commit -t test -u test -d '0 0'
+ hg clone . ../b
cloning by hardlink
+ cd ../b
+ cat a
a
+ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 1 changesets, 1 total revisions
+ hg clone -U . ../c
cloning by hardlink
+ cd ../c
+ cat a
cat: a: No such file or directory
+ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 1 changesets, 1 total revisions
+ mkdir ../d
+ cd ../d
+ hg clone ../a
cloning by hardlink
+ cd a
+ hg cat a
a