From 19f7db3065457eafdf5369530beae2ac47f9892a Mon Sep 17 00:00:00 2001 From: Caleb Brown Date: Thu, 23 Jan 2014 15:56:36 +1100 Subject: [PATCH] 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. --- library/source_control/hg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/source_control/hg b/library/source_control/hg index fcaa73457a..1b95bcd5ac 100644 --- a/library/source_control/hg +++ b/library/source_control/hg @@ -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])