Matt Mackall <mpm@selenic.com> [Wed, 23 Feb 2011 17:27:05 -0600] rev 13468
context: generate file ancestors in reverse revision order (issue2642)
The related() function in copies assumes that revisions are generated
in reverse revision order, so it was getting confused in some situations.