-
Notifications
You must be signed in to change notification settings - Fork 833
Open
Labels
Description
Description
Steps to Reproduce the Problem
I found only #2697 with this same error. And other symlink issues don't exactly give this same error.
I have a git repo with a symlink in it, and if I colocate or even git clone with jj, I can't ever snapshot it,
The error happens even when the file isn't being used, I've tried to set the file in the .gitignore, and untrack it, set core.symlinks=true. Are there any other options?
Administrator in stats.jj on HEAD (ef550bb) via .NET v9.0.101
❯ jj file untrack './src/My Project'
Internal error: Failed to snapshot the working copy
Caused by:
1: Failed to read file C:\stats.jj\src\My Project
2: Access is denied. (os error 5)
Administrator in stats.jj on HEAD (ef550bb) via .NET v9.0.101
❯ jj file untrack './src/My Project' --ignore-working-copy
Error: This command must be able to update the working copy.
Hint: Don't use --ignore-working-copy.Expected Behavior
JJ to snapshot normally, or even to ignore the symlink when I have the settings for it.
Actual Behavior
JJ gives an error.
Specifications
- Platform: Windows 11 24H2
- Version: jj 0.30.0-34b0961c940e1ad3be5cd9c5f5e608b0aa0ba859
refack