本文介绍了Mercurial如何检索执行过gg push的真实用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述

在服务器站点上: hg提示显示执行hg push/commit的用户.数据取自.hgrc的[user]部分.我可以放任何我喜欢的东西.但是,如何了解在服务器上真正执行过 hg push 的人呢?

on server site: hg tip shows a user who performed hg push/commit. The data is taken from [user] section of .hgrc. I can put there whatever I like. But how to get to know on a server who really did hg push?

推荐答案

您需要手动维护 pushlog 来跟踪此问题-Mercurial没有对此的内置支持.我在此处的推送日志上写了更多内容.

You need to maintain a pushlog manually to track this — Mercurial has no built-in support for this. I wrote more about pushlogs here.

您还可以使用服务器 Kallithea ,该服务器默认情况下带有推送日志.

You can also use a server like Kallithea which comes with a pushlog by default.

这篇关于Mercurial如何检索执行过gg push的真实用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 02:16