汞汞找不到变化-汞不能推出 [英] Mercurial Hg No changes found - can't Hg push out
问题描述
有人可以建议我为什么最后没有发现变化吗?
Can someone pls advise why I'm getting NO CHANGES found at the end.
此外,我还收到一条令人讨厌的消息," .hg/hgrc中未指定用户名.将不使用密钥环."
Also, I'm getting an annoying message, "Username not specified in .hg/hgrc. Keyring will not be used."
版本工具:Hg最新版本 服务器:Linux 工作区:〜/2012WS
Version tool: Hg latest version Server: Linux Workspace: ~/2012WS
LinuxServer123:~/2012WS # hg clone http://LinuxServer123/hg/GigaTest/
Username not specified in .hg/hgrc. Keyring will not be used.
http authorization required
realm: Mercurial Repositories
user: u123456
password:
destination directory: GigaTest
requesting all changes
adding changesets
adding manifests
adding file changes
added 14 changesets with 585 changes to 575 files (+1 heads)
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
LinuxServer123:~/2012WS #
LinuxServer123:~/2012WS # cd GigaTest/
LinuxServer123:~/2012WS/GigaTest # ls -tlr
total 12
-rw-r--r-- 1 root root 25 Jan 10 16:36 hello.py
-rw-r--r-- 1 root root 25 Jan 10 16:36 HELLO-UP.PY
drwxr-xr-x 4 root root 4096 Jan 10 16:36 .hg
LinuxServer123:~/2012WS/GigaTest # vi hello.py
LinuxServer123:~/2012WS/GigaTest # ls -l > new.txt
LinuxServer123:~/2012WS/GigaTest # hg add new.txt
LinuxServer123:~/2012WS/GigaTest #
LinuxServer123:~/2012WS/GigaTest #
LinuxServer123:~/2012WS/GigaTest # hg stat
M hello.py
A new.txt
LinuxServer123:~/2012WS/GigaTest #
LinuxServer123:~/2012WS/GigaTest # hg out
comparing with http://LinuxServer123/hg/GigaTest/
Username not specified in .hg/hgrc. Keyring will not be used.
http authorization required
realm: Mercurial Repositories
user: u123456
password:
searching for changes
no changes found
LinuxServer123:~/2012WS/GigaTest #
提前谢谢.
推荐答案
您必须先执行hg commit
.
hg stat
显示对当前工作存储库所做的更改(自上次提交以来),而hg out
显示对存储库所做的更改,这些更改将在hg push
上推出.
hg stat
shows the changes made to the current working repository (since the last commit) and hg out
shows the commits made to your repository that will be pushed out on hg push
.
消息未在.hg/hgrc中指定用户名"表示未在.hg/hgrc文件中指定您的用户名.钥匙圈是我不熟悉的扩展;大概将使用您的用户名并使用密钥执行某项操作.
And the message "Username not specified in .hg/hgrc" means that your username is not specified in the .hg/hgrc file. Keyring is an extension I'm not familiar with; presumably it will take your username and do something with a key.
这篇关于汞汞找不到变化-汞不能推出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!