Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot export nested tags unless --mark-tags is specified. #1

Open
mathomp4 opened this issue Feb 16, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mathomp4
Copy link
Member

In trying to use RepoExtractor today, I was hit with:

❯ ./extract_repo.bash -r "GEOSldas" -d "GEOSldas_GridComp" --newrepo "GEOSldas_GridComp" --develop --create-repo --push
Cloning into 'GEOSldas_GridComp'...
remote: Enumerating objects: 8314, done.
remote: Counting objects: 100% (1057/1057), done.
remote: Compressing objects: 100% (390/390), done.
remote: Total 8314 (delta 731), reused 833 (delta 662), pack-reused 7257
Receiving objects: 100% (8314/8314), 7.43 MiB | 4.91 MiB/s, done.
Resolving deltas: 100% (4966/4966), done.
path=src/Components/GEOSldas_GridComp/
Parsed 1 commitsfatal: Error: Cannot export nested tags unless --mark-tags is specified.
Parsed 1483 commits
Error: fast-export failed; see above.
fatal: stream ends early
fast-import: dumping crash report to .git/fast_import_crash_55107

After searching the internet, I encountered newren/git-filter-repo#523 and it's accompanying PR: newren/git-filter-repo#526 (Thanks to @vpa1977)

So, before I was using brew's git-filter-repo but now I did:

gh repo clone newren/git-filter-repo
cd git-filter-repo
gh pr checkout 526

and made a symlink to it in ~/bin.

Until @newren updates the main git-filter-repo, this will need to be done when using this script. I'll add info to the README.md.

@mathomp4 mathomp4 added the bug Something isn't working label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant