mx.py 文件源码

python
阅读 38 收藏 0 点赞 0 评论 0

项目:mx 作者: graalvm 项目源码 文件源码
def tip(self, vcdir, abortOnError=True):
        self.check_for_hg()
        # We don't use run because this can be called very early before _opts is set
        try:
            return subprocess.check_output(['hg', 'tip', '-R', vcdir, '--template', '{node}'])
        except subprocess.CalledProcessError:
            if abortOnError:
                abort('hg tip failed')
            else:
                return None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号