# Ansible-pull with mercurial repo

**URL:** <https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020>\
**Category:** Ansible Project\
**Created:** [June 26, 2013, 12:15pm UTC](https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020 "2013-06-26T12:15:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giuliano\_Barberi](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@Giuliano\_Barberi](https://forum.ansible.com/u/Giuliano_Barberi)\
**Post date:** [June 26, 2013, 12:15pm UTC](https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020/1 "2013-06-26T12:15:00Z")

</div>

Is this possible?

---

<div class="post-metadata">

**Author:** ![GW1](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@GW1](https://forum.ansible.com/u/GW1)\
**Post date:** [June 26, 2013, 12:30pm UTC](https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020/2 "2013-06-26T12:30:43Z")

</div>

Hi,

Can probably be done with: [http://hg-git.github.io/](http://hg-git.github.io/) (although you must pay attention to what you commit, because there is not .hgignore)

Greetings,  
gw

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [June 26, 2013, 1:22pm UTC](https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020/3 "2013-06-26T13:22:00Z")

</div>

I’d rather see ansible-pull enhanced to support mercurial also. Patches would be accepted!

---

<div class="post-metadata">

**Author:** ![Giuliano\_Barberi](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@Giuliano\_Barberi](https://forum.ansible.com/u/Giuliano_Barberi)\
**Post date:** [June 26, 2013, 2:22pm UTC](https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020/4 "2013-06-26T14:22:28Z")

</div>

Looking at the code it looks like it would be simple for someone who knows the code a bit. I’d try to submit a patch but I’m a bit strapped for time atm. I’ll look into improving it when I have more time. Would you just want it to accept a parameter with the type of repo?

---

<div class="post-metadata">

**Author:** ![Giuliano\_Barberi](https://avatars.discourse-cdn.com/v4/letter/g/edb3f5/32.png) [@Giuliano\_Barberi](https://forum.ansible.com/u/Giuliano_Barberi)\
**Post date:** [July 11, 2013, 10:43pm UTC](https://forum.ansible.com/t/ansible-pull-with-mercurial-repo/13020/5 "2013-07-11T22:43:52Z")

</div>

It looks like someone is working on this: [https://github.com/ansible/ansible/issues/3372](https://github.com/ansible/ansible/issues/3372)
