Comments (14)
Do you have a series of steps to reproduce this?
from git-remote-hg.
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.
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.
same here, any solution? git 2.3 hg 2.8.2
from git-remote-hg.
@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.
@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.
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.
@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.
@fingolfin
I have found test case to reproduce this issue.
- Clone big repo. (In my case it contains ~18000 branches)
- Add to remote mercurial repo commit in some .
- Then make "git fetch" (in my case it takes near 3 hours)
- While previous command working open new terminal and make "git fetch origin branches/"
- Wait until "git fetch" from 3 will finished.
- Add to local git repo commit to .
- git push origin
- ... error: Object [hash] already has a mark ...
from git-remote-hg.
@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.
Concurrency is not supported. Only one command should be run at a time.
from git-remote-hg.
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.
Yeah, I thought so. The concurrency issue is a different thing.
from git-remote-hg.
If anybody is still experiencing this, feel free to comment and I'll reopen, in the meantime.
from git-remote-hg.
Related Issues (20)
- TypeError: int() argument must be a string or a number, not 'changectx' HOT 8
- Git commit ID (SHA-1 hash) is not consistent between the committing repository and others HOT 2
- "Branch name doesn't conform to GIT standards" HOT 1
- Issue #72 is ok when using solution below, already mentionend by another user. HOT 2
- Pointer to more up-to-date fork from mnauw? HOT 1
- point to active repo? HOT 10
- About hg largefiles HOT 1
- pushes are rejected with a non-fast-forward error (looks like #36)
- Import of "lemon" hg repo failed HOT 1
- How can i get more debug information? HOT 1
- Push to hg fails with KeyError in to_rev() HOT 3
- Extra lines in commit comment changes the commit hash - breaks hg-git interoperability HOT 2
- mercurial.error.Abort: stream ended unexpectedly HOT 2
- Git ls-remote error: accessing `persistent-nodemap` repository without associated fast implementation HOT 1
- Cloning error due to decode HOT 3
- How to undo git config core.notesRef refs/notes/hg? HOT 1
- Transfer the githashes to the mercurial repository (locally) HOT 2
- SyntaxWarning about regexes
- Working with Mercurial topic branches HOT 1
- SyntaxWaring: invalid escape sequence \w HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-remote-hg.