initial versio for the mercurial script (moving files)