-
Notifications
You must be signed in to change notification settings - Fork 455
Bad edge case handling of concatenated dunce::simplified()
paths (Windows)
#6287
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
Comments
The problem seems isolated to |
Panicking is bad, but I have no idea why Maybe there would be some Windows tool to trace system call? |
AFAIK, that can happen when trying to write to a directory that doesn't exist.
I just went back through old scoop versions, and the problem was absent from |
But now,
|
Sure. I mean I have no idea why the directory didn't exist, etc.
One potential change that could affect Windows is 78b5766. If your work directory path is long, can you test with shorter path (or longer path enough to enforce the |
I renamed the directory to have a shorter path, and, indeed, the error went away. |
jj git init
failsdunce::simplified()
paths (Windows)
Things like https://crates.io/crates/cap-std might help if it uses iirc, there's a some way to extend the maximum path length by setting metadata to executable, but I don't know the detail. |
This will probably help debug weird problem like jj-vcs#6287. File names are a bit redundant for ReadObject errors (which include ObjectId), but that should be okay.
This will probably help debug weird problem like jj-vcs#6287. File names are a bit redundant for ReadObject errors (which include ObjectId), but that should be okay.
This will probably help debug weird problem like #6287. File names are a bit redundant for ReadObject errors (which include ObjectId), but that should be okay.
This will probably help debug weird problem like jj-vcs#6287. File names are a bit redundant for ReadObject errors (which include ObjectId), but that should be okay.
Description
Since updating to
jj v0.28
, best as I can tell,jj git init
panics with a file not found error.Steps to Reproduce the Problem
jj git init
Expected Behavior
Creating a new repository
Actual Behavior
Panic when writing operations.
Specifications
Output
The text was updated successfully, but these errors were encountered: