English 中文(简体)
hg-git push然失败
原标题:hg-git push silently fails

I m trying to use hg push to a git repository, but it silently fails. I found a single post on the mailing list and a registered hg-git issue, but both are about half a year old without much activity. So I started to think I misunderstand/misconfigure something. My ~/.hgrc contains

[extensions]
hgext.bookmarks =
hgext.git =
#hggit = /path/to/hg-git-0.3.1/hggit
[bookmarks]
track.current = True

这个问题是:

mkdir /tmp/Git
cd /tmp/Git
git init
echo  something  > myfile
git add .
git commit -m  Started 
cd ..
hg clone /tmp/Git /tmp/Hg
cd /tmp/Hg
echo  another thing  >> myfile
hg ci -m  Working 
hg log
# Two items listed
hg push
cd ../Git
git log
# Only one item listed, but two expected

我试用了与乌兰巴托11.10号交运的<代码>hg-git 0.2.6-2和最新挂号0.3.1。 我的汞是1.9.1版。

我甚至尝试了两个拟议工作领域,即:hg Update Master before commissioning, and hg bookmark -f Master after commissioning, but both given a mis.

最新资料:

我创建了一个

最佳回答
问题回答

暂无回答




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

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 ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签