Comments (7)
According to google search, one similar issue is git does not allow slash character in branch name.
I checked repo's branch name, it did have slash character in branch name, but didn't find "stdlib-unification/py3k" from the error message:
$hg branches |grep py3k
py3k 78865:9b081ccd78af
py3k-qualname 72716:9f0e2a2c6084
py3k-ceil-floor 59071:6a1c5f8e7931
py3k-listview_str 58456:18626459a9b2
$hg branches |grep stdlib
vendor/stdlib 78042:a3b827ca23fa (inactive)
vendor/stdlib-3.3.5 72484:80b492d79663 (inactive)
from fast-export.
from fast-export.
According to google search, one similar issue is git does not allow
slash character in branch name.
I checked repo's branch name, it did have slash character in branch
name, but didn't find "stdlib-unification/py3k" from the error message:
You have to run "hg branches" with -c to se all the branches
$ hg branches -c |grep stdlib
...
vendor/stdlib 78042:a3b827ca23fa (inactive)
...
vendor/stdlib-3.3.5 72484:80b492d79663 (inactive)
...
stdlib-unification/py3k 54912:4c6780e83b78 (closed)
...
So the right way to fix this is probably the solution outlined in issue #21
from fast-export.
"Error: repository has at least one unnamed head: hg r72634"
I add "--force" parameter.
from fast-export.
We worked around the issue by fast-exporting only default branch.
hg clone https://bitbucket.org/pypy/pypy -b default
And used fast-export to work on local default branch.
from fast-export.
Commit 3c27c69 adds renaming support for tags and branches which should allow you to convert all the branches.
from fast-export.
Great, now the issue was solved. :)
from fast-export.
Related Issues (20)
- 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
- Cannot execute fast export due to missing module importlib.machinery HOT 6
- Renaming files ignores file deletions HOT 1
- Importing mercurial repository fails with syntax error HOT 1
- Error -5 while decompressing data HOT 2
- Archives doesn't contain sharness folder HOT 2
- Running content filter fails, maybe because of an empty commit HOT 2
- git checkout HEAD ERROR HOT 4
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.