我正在开发一个项目,并进行小规模的试探性更改。在每次更改后,我想与之前的版本进行diff。但是,我不想将这些小更改都提交到永久历史记录中,直到我确认最终更改应该是永久的。然后我想一次性提交。
Mercurial 有哪些功能可以讓我這麼做?
我正在开发一个项目,并进行小规模的试探性更改。在每次更改后,我想与之前的版本进行diff。但是,我不想将这些小更改都提交到永久历史记录中,直到我确认最终更改应该是永久的。然后我想一次性提交。
Mercurial 有哪些功能可以讓我這麼做?
我认为你在寻找Mercurial Queues,这可以让你在没有提交的情况下维护一组补丁。你可以推送和弹出补丁,直到你做对了,然后适当地提交。
这里是不错的博客文章http://www.canonware.com/~ttt/2008/04/using-mercurial-patch-queues-for-daily.html
或者官方文档在这里 http://hgbook.red-bean.com/read/advanced-uses-of-mercurial-queues.html
你可以像Sam提到的那样使用MQ,或者你可以像平常一样提交,然后使用折叠扩展或HistEdit扩展来折叠“中间”变更集。你只需要确保在此期间不要将它们推送到其他地方。
Is it possible to clone part of a Mercurial repository? Let s say the repository is quite large, or contains multiple projects, or multiple branches. Can I clone only part of the repository? E.g. in ...
I have a number of branches in a git repository: david@Panama ~/app: git branch -r origin/HEAD -> origin/master origin/master origin/newButtons origin/newFonts origin/serverView If I try and ...
I ve got a problem when I try to sync files in two different repos. What I want to do is: I ve got 2 repos A and B, and they share some common files, suppose they lie in A/docs/common/ and B/docs/...
We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...
Hello is there a tool for git that allow to work with mercurial repositories F.e. for svn there is a git-svn package, that allows to clone/commit/update from svn and work in a git way.. So is there ...
My team has a local development network which is not physically connected to any outside network. This is a contractual obligation and CANNOT be avoided. We also have to coordinate with a team which ...
What are some useful Mercurial hooks that you have come across? A few example hooks are located in the Mercurial book: acl bugzilla notify check for whitespace I personally don t find these very ...
I have following windows configuration: Windows machine "A" has mercurial repository. hg server is running on "A" http I created clone of "A" on windows machine "B" After adding and commitng my ...