tests/test-issue433
author Matt Mackall <mpm@selenic.com>
Tue, 12 Dec 2006 17:52:33 -0600
changeset 3881 c0a12e6441a5
parent 3719 199dcb97a5b6
child 4659 7a7d4937272b
permissions -rwxr-xr-x
Fix copy detection corner case We were aborting if the copied from rev was before the cut-off limit, rather than the copied _to_ rev. The copied from rev can be arbitrarily old.

#!/bin/sh
# http://www.selenic.com/mercurial/bts/issue433

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

hg parents -r 0 doesnotexist
true