1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix a bug in "hg" module so that pull is not set to a version.

There is a bug in the `hg` module where if a `tag` is used it won't
properly be able to update to it.

This problem is exhibited on repository where a tag is moved from an
older commit to a newer commit.
This commit is contained in:
Caleb Brown 2014-01-23 15:56:36 +11:00
parent f2b2354332
commit 19f7db3065

View file

@ -167,7 +167,7 @@ class Hg(object):
def pull(self):
return self._command(
['pull', '-r', self.revision, '-R', self.dest, self.repo])
['pull', '-R', self.dest, self.repo])
def update(self):
return self._command(['update', '-R', self.dest])