Code Monkey home page Code Monkey logo

Comments (2)

catskul avatar catskul commented on June 24, 2024

did you ever resolve/find a work around for this issue?

from git-remote-hg.

felipec avatar felipec commented on June 24, 2024

The following is how I can reproduced it:

hg init /tmp/hg-git/testrepo &&
git clone -q hg::/tmp/hg-git/testrepo testrepo-git-1 &&
(cd testrepo-git-1 &&
 touch a && git add a && git commit -q -m "Add a" &&
 git push -q
) &&
git clone -q hg::/tmp/hg-git/testrepo testrepo-git-2 &&
git --git-dir=testrepo-git-1/.git/ rev-parse master &&
git --git-dir=testrepo-git-2/.git/ rev-parse master

I modified your steps a little bit, and I don't see the same problem. Maybe in your case HEAD is pointing to another ref?

I get:

warning: You appear to have cloned an empty repository.
3b3c1ee66e17361cf3e96156275b37dc3974c8a5
3b3c1ee66e17361cf3e96156275b37dc3974c8a5

Please try with the latest release (v0.4). Also, check that the output of git cat-file -p master is exactly the same in both repositories. The difference should give you a clue.

from git-remote-hg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.