Skip to content

Ignore Jujutsu directory#2277

Open
devyntk wants to merge 1 commit into
pypa:masterfrom
devyntk:master
Open

Ignore Jujutsu directory#2277
devyntk wants to merge 1 commit into
pypa:masterfrom
devyntk:master

Conversation

@devyntk

@devyntk devyntk commented May 19, 2026

Copy link
Copy Markdown

When attempting to build a sdist in a repo that's controlled by jujutsu, I often get hit with the following error:

❯ uv build
Building source distribution...
  × Failed to build `/home/me/myproj`
  ├─▶ Invalid tar file
  ├─▶ failed to unpack
  │   `/home/me/.cache/uv/sdists-v9/.tmpUH9btv/myproj-1.0.0/.jj/repo/config.toml`
  ╰─▶ symlink path `/home/me/.config/jj/repos/f5fff8505651f2787ef4/config.toml` is
      absolute, but external symlinks are not allowed

Typically I ignore this by just adding .jj/ to the .gitignore, however this seems to be a more permanent fix that I hope effectively does the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant