Code Monkey home page Code Monkey logo

Comments (14)

felipec avatar felipec commented on June 8, 2024

Do you have a series of steps to reproduce this?

from git-remote-hg.

urkle avatar urkle commented on June 8, 2024

I am also having this issue hg version 2.4.1 and git 1.8.1.4.. however I can not push changes. as it promptly rejects the change claiming it's a non-fast-forward push? and that my branch is behind,.. however it is not.. it's the same as the remote..

from git-remote-hg.

alchemicalhydra avatar alchemicalhydra commented on June 8, 2024

Do you have a series of steps to reproduce this?

On our private repo at work, it happens on just about every push. I'm not sure how I'd go about getting it to be reproducible on a fresh repo, though.

from git-remote-hg.

dfens avatar dfens commented on June 8, 2024

same here, any solution? git 2.3 hg 2.8.2

from git-remote-hg.

fingolfin avatar fingolfin commented on June 8, 2024

@dfens to everybody who runs into this: If you have a way to reproduce it, I can look into it. Otherwise, this is just stabbing in the dark :-/

from git-remote-hg.

alchemicalhydra avatar alchemicalhydra commented on June 8, 2024

@fingolfin For what it's worth, I'm not using the bridge anymore; I just decided to never work on a Mercurial project again. ;-) More seriously, I think @felipec has abandoned the project; your fork seems to be active, and should probably be the first stop for people trying to get this working.

from git-remote-hg.

fingolfin avatar fingolfin commented on June 8, 2024

I actually just realized that I found a reproducible example for this... :) See fingolfin#2

@tomxtobin Yeah, it seems this is abandoned -- unfortunely, it still seems to be the number 1 hit on Google for git-remote-hg

from git-remote-hg.

alchemicalhydra avatar alchemicalhydra commented on June 8, 2024

@felipec I don't know if you're reading, but any thoughts to giving official blessing to @fingolfin's fork? If you're willing, an official pointer in the README would go a long way. :-)

from git-remote-hg.

sayadyan avatar sayadyan commented on June 8, 2024

@fingolfin
I have found test case to reproduce this issue.

  1. Clone big repo. (In my case it contains ~18000 branches)
  2. Add to remote mercurial repo commit in some .
  3. Then make "git fetch" (in my case it takes near 3 hours)
  4. While previous command working open new terminal and make "git fetch origin branches/"
  5. Wait until "git fetch" from 3 will finished.
  6. Add to local git repo commit to .
  7. git push origin
  8. ... error: Object [hash] already has a mark ...

from git-remote-hg.

fingolfin avatar fingolfin commented on June 8, 2024

@sayadyan Thanks, that is quite helpful. This suggests that at least one source of this bug is a concurrency issue. It might also suggest a way to easily reproduce the issue. E.g. instead of cloning a big repo, one could insert an artificial delay into git-remote-hg, triggered by an environment flag; then start one operation with that flag enabled; and start a second operation without the flag.

But I can't promise I'll get to work on this anytime soon.

from git-remote-hg.

felipec avatar felipec commented on June 8, 2024

Concurrency is not supported. Only one command should be run at a time.

from git-remote-hg.

alchemicalhydra avatar alchemicalhydra commented on June 8, 2024

Unfortunately, I may be working on a Mercurial repo in the near future, so I have a renewed interest in seeing this bug fixed. ;-) @felipec, if you're back to working on the project, it's great timing!

For what it's worth, the original issue I reported was not a result of my running concurrent operations.

from git-remote-hg.

felipec avatar felipec commented on June 8, 2024

Yeah, I thought so. The concurrency issue is a different thing.

from git-remote-hg.

felipec avatar felipec commented on June 8, 2024

If anybody is still experiencing this, feel free to comment and I'll reopen, in the meantime.

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.