simplify client repo push sql
fix repo-sync test