Skip to content

Commit 1a8577d

Browse files
committed
always update to the tip
1 parent 953e10a commit 1a8577d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/src/main/python/opengrok_tools/scm/mercurial.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#
1919

2020
#
21-
# Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
21+
# Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
2222
# Portions Copyright (c) 2020, Krystof Tulinger <k.tulinger@seznam.cz>
2323
#
2424

@@ -82,6 +82,8 @@ def reposync(self):
8282
# some servers do not support it.
8383
if branch == "default":
8484
hg_command.append("--check")
85+
hg_command.append("-r")
86+
hg_command.append("tip")
8587
cmd = self.get_command(hg_command, work_dir=self.path,
8688
env_vars=self.env, logger=self.logger)
8789
cmd.execute()

0 commit comments

Comments
 (0)