use hg debugsetparents instead of closing the branch; without this vcs-sync will fail