如何找出远程存储库是否包含变更集?

How to find out whether a remote repository contains a changeset?

如何确定远程存储库是否包含特定的变更集?

以下对我有用:

hg outgoing -r <changeset> returns 1 如果远程存在变更集。