copy & rename can ignore removed source files
As mercurial now distinguishes deleted files from removed files,
we can skip removed source files while copying or renaming.
#!/bin/shmkdir acd ahg initecho foo > bhg add bhg ci -m "b" -d "0 0"chmod -w .hgcd ..hg clone a bcd bhg verifycd ..chmod +w a/.hg # let test clean up