hg commit/push/pull

hg ansible module seems to have only clone? other actions cant be done with it?

Take a look at the first example on the documentation page:

# Ensure the current working copy is inside the stable branch and deletes untracked files if any.
- hg:
    repo: https://bitbucket.org/user/repo1
    dest: /home/user/repo1
    revision: stable
    purge: yes

I think this will both clone the repository if it is not there, and update it if it is there.
Did you try it?

John

You can do equivalent of hg update -C as well as clone.

what are you trying to achieve?

You can allways use shell module to run hg commit and hg push (or any other command line).

i wanted clone and its there, i want to commit/push/update