Comments (6)
More or less.
from fast-export.
I think this problem should be fixed with the patch in #316, please test it @lefebvresam and report back. #315 should help avoid this kind of problem in the future.
from fast-export.
Merged this without confirmation, as running code which requires Python 3 with a Python 2 interpreter is sure to break things.
from fast-export.
After cheking out the project again it's working. The only point is that the docker session is not persitent and I have to do 'pip install mercurial' every time I start the docker session. So I decided to not use the docker session anymore. Another remark is that the tool cannot automatically convert multiple heads from Mercurial into branches, which are understandable in GIT. You have to do for every head:
# (1) Unnamed heads:
# Git can only have one head, hg can have multiple heads in one branch.
# We will convert the unnamed heads into named branches.
# You can also ignore the head with option --ignore-unnamed-heads but you end up with commits being lost
hg update -r 174
hg branch r174-fix-git-conversion
hg commit -m "Fix git conversion (unnamed head r174)"
hg update default
# repeat for each unnamed head
from fast-export.
the tool cannot automatically convert multiple heads from Mercurial into branches
Check this section of the README for ways to deal with multiple heads.
from fast-export.
Ok I suppose that these tools are doing exactly the same what I did manually.
from fast-export.
Related Issues (20)
- ā¸ā¸˛āšā¸ HOT 1
- hg2git-heads file is missing if working with bare repository HOT 8
- Get it on PyPI and install via PIP? HOT 1
- Rewrite commit hashes in commit message HOT 5
- hg-fast-export.py:269: FutureWarning: Possible nested set at position 2 HOT 3
- Documentation Unclear HOT 2
- export project with submodules does not contain a valid uri HOT 1
- .hgsub is still available after conversion HOT 1
- .hgignore is not replaced by .gitignore HOT 1
- Reduce repository size HOT 1
- Not all modules are defined in mapping file. HOT 2
- Commit messages are decoded as cp1252 with parameter -e utf8 HOT 1
- Yet another "cannot lock ref", mapping seems not to help HOT 2
- no difference between empty and no plugin option HOT 4
- Branch mapping not working with quotation mark HOT 6
- fast-export only converts default branch HOT 3
- Support for Python 3.12 (e.g. replace `imp` usage for Python 3 users)
- hg-fast-export.py fails due to missing hg2git module HOT 3
- Renaming files ignores file deletions 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 fast-export.