Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/360.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/svn/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 使用hg转换的神秘用户名_Python_Svn_Mercurial_Mercurial Convert - Fatal编程技术网

Python 使用hg转换的神秘用户名

Python 使用hg转换的神秘用户名,python,svn,mercurial,mercurial-convert,Python,Svn,Mercurial,Mercurial Convert,我有一个克隆的mercurial存储库和一个签出的subversion存储库 当我签出subversion repo时,我选择将密码保存为纯文本 我想将mercurial repo导入subversion,所以我使用mercurial的convert扩展 hg convert --debug --dest-type svn hgrepo svnrepo 在第一次提交之前,一切看起来都很好: Password for '"Michael': 它停止并要求输入与用户名“Michael”对应的密

我有一个克隆的mercurial存储库和一个签出的subversion存储库

当我签出subversion repo时,我选择将密码保存为纯文本

我想将mercurial repo导入subversion,所以我使用mercurial的convert扩展

hg convert --debug --dest-type svn hgrepo svnrepo 
在第一次提交之前,一切看起来都很好:

Password for '"Michael':
它停止并要求输入与用户名“Michael”对应的密码,但我的用户名是Michael

有谁能告诉我这个用户名是从哪里来的,或者我如何覆盖它


谢谢

检查你的~/.hgrc文件或.hg/hgrc文件。第二个文件应该在repo中,第一个在你的主目录中。这些文件是mercurial读取的配置和用户信息


检查你的~/.hgrc文件或.hg/hgrc文件。第二个文件应该在repo中,第一个在你的主目录中。这些文件是mercurial读取的配置和用户信息


您检查过mercurial.ini吗

[ui]
username=Xyz

你查过mercurial.ini了吗

[ui]
username=Xyz

恐怕没有,hgrc文件中没有类似的内容,只有我的mercurial用户名。恐怕没有,hgrc文件中没有类似的内容,只有我的mercurial用户名。