विफल रहता है मैं hg push
का उपयोग गिट भंडार में करने की कोशिश कर रहा हूं, लेकिन यह चुपचाप विफल रहता है। मुझे a single post on the mailing list और a registered hg-git issue मिला, लेकिन दोनों बिना गतिविधि के लगभग आधा साल पुराना है। तो मैंने सोचना शुरू कर दिया कि मैं कुछ गलत समझ/गलत कॉन्फ़िगर करता हूं। मेरे ~/.hgrc
शामिलएचजी-गीट पुश चुपचाप
[extensions]
hgext.bookmarks =
hgext.git =
#hggit = /path/to/hg-git-0.3.1/hggit
[bookmarks]
track.current = True
यह स्निपेट समस्या reproduces:
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
मैं दोनों hg-git 0.2.6-2
उबंटू 11.10 के साथ भेज दिया, और नवीनतम टैग संस्करण, 0.3.1
की कोशिश की। मेरा Mercurial संस्करण 1.9.1
मैंने आने से पहले दो प्रस्तावित वर्कअराउंड, hg update master
भी कोशिश की, और hg bookmark -f master
आने के बाद, लेकिन दोनों ने एक त्रुटि दी।
अद्यतन:
मैं एक new issue for this