copy: handle rename internally
- add rename parameter
- don't collect copied list
- report "moving" rather than "copying"
- remove renamed files
- don't return copied list
- simplify callers
import doctest
import mercurial.changelog
# test doctest from changelog
doctest.testmod(mercurial.changelog)
import mercurial.httprepo
doctest.testmod(mercurial.httprepo)
import mercurial.util
doctest.testmod(mercurial.util)