SageDev: remove branch keyword from pull
SageDev: fix pull doctest
patch.py: deal with hg's silly copy commands

this is needed for #10963
Merge branch 'dev_scripts'