推送时出现 CodePlex TortoiseHG 错误
CodePlex TortoiseHG Error while Pushing
当我将我的新源代码推送到 codeplex 时出现此错误。
你能帮忙快点吗。谢谢。
% hg outgoing --template {node}^M https://hg.codeplex.com/mxspli
comparing with https://hg.codeplex.com/mxspli
searching for changes
[command completed successfully Sat Apr 30 15:28:52 2016]
% hg log -T {rev}^M -r 1:2
[command completed successfully Sat Apr 30 15:28:52 2016]
% hg push https://hg.codeplex.com/mxspli
pushing to https://hg.codeplex.com/mxspli
searching for changes
http authorization required for https://hg.codeplex.com/mxspli
realm: CodePlex
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: transaction abort!
remote: rollback completed
[command returned code 1 Sat Apr 30 15:29:12 2016]
mxspli%
好的,我明白了。
错误是 .hg
文件夹中的文件已损坏,所以这就是我所做的:
- 已删除 .hg 文件夹。
- 已将源代码拉至新文件夹。
- 已将文件从旧文件夹移动到新文件夹。
- 推送文件。
当我将我的新源代码推送到 codeplex 时出现此错误。 你能帮忙快点吗。谢谢。
% hg outgoing --template {node}^M https://hg.codeplex.com/mxspli
comparing with https://hg.codeplex.com/mxspli
searching for changes
[command completed successfully Sat Apr 30 15:28:52 2016]
% hg log -T {rev}^M -r 1:2
[command completed successfully Sat Apr 30 15:28:52 2016]
% hg push https://hg.codeplex.com/mxspli
pushing to https://hg.codeplex.com/mxspli
searching for changes
http authorization required for https://hg.codeplex.com/mxspli
realm: CodePlex
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: transaction abort!
remote: rollback completed
[command returned code 1 Sat Apr 30 15:29:12 2016]
mxspli%
好的,我明白了。
错误是 .hg
文件夹中的文件已损坏,所以这就是我所做的:
- 已删除 .hg 文件夹。
- 已将源代码拉至新文件夹。
- 已将文件从旧文件夹移动到新文件夹。
- 推送文件。