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.
最新资料: