使用Mercurial,我如何看到尚未推动的变化? [英] Using Mercurial, how can I see what changes have yet to be pushed?

查看:88
本文介绍了使用Mercurial,我如何看到尚未推动的变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我习惯于git,在这里您可以运行gitk并获得以下内容:

I'm used to git, where you can run gitk and get something like the following:

在这里您可以看到有一些更改需要推送到远程分支.另外,我可以使用git log --decorate,输出为:

Here you can see that there are a couple of changes that need pushing to the remote branch. Alternatively, I can use git log --decorate and the output would be:

b8c2926... (refs/heads/next) Update instructions
6d9f914... Add a first go at generic x compiling
49a6dac... (refs/remotes/github/next) Ignore temp files

Mercurial有这样的东西吗?

Is there anything like this with Mercurial?

推荐答案

hg outgoing-将向您显示等待推送到远程存储库的变更集.

hg outgoing - will show you the changesets that are waiting to be pushed to a remote repository.

hg incoming-显示远程存储库中的新变更集.

hg incoming - shows new changesets that are in the remote repository.

这篇关于使用Mercurial,我如何看到尚未推动的变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆