Skip to content

Commit afe531e

Browse files
author
Vladimir Kotal
committed
do not run hg incoming
1 parent d439f76 commit afe531e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tools/sync/mercurial.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,6 @@ def reposync(self):
6666
# Error logged allready in get_branch().
6767
return 1
6868

69-
hg_command = [self.command, "incoming", "-v"]
70-
if branch != "default":
71-
hg_command.append("-b")
72-
hg_command.append(branch)
73-
cmd = self.getCommand(hg_command, work_dir=self.path,
74-
env_vars=self.env, logger=self.logger)
75-
cmd.execute()
76-
self.logger.info(cmd.getoutputstr())
77-
#
78-
# 'hg incoming' will return 1 if there are no incoming changesets,
79-
# so do not check the return value.
80-
#
81-
if cmd.getretcode() != 0 or cmd.getstate() != Command.FINISHED:
82-
cmd.log_error("failed to get incoming changesets")
83-
return 1
84-
8569
hg_command = [self.command, "pull"]
8670
if branch != "default":
8771
hg_command.append("-b")

0 commit comments

Comments
 (0)