hg pull 代码时修改用户名

vm .hg/hgrc
把里面的“旧的用户ID”改为“新的用户ID”。
vim .hg/hgrc

原文地址:https://www.cnblogs.com/lhj588/p/2414057.html