Windows: paths print as \\?\C:\... issue #143 closed: completed andymccall opened this · 0 comments
andymccall set labels bug ·
closed by change 544d0541a7e5 ·
andymccall referenced by change 9aec107d1071 on main ·
andymccall set labels bug ·
closed by change 544d0541a7e5 ·
andymccall referenced by change 9aec107d1071 on main ·
Found running oxy 0.6.0's Windows build on the Windows VM (oxygenflow#83, 2026-10-26):
oxy init demosays "Initialized oxy repository in \?\C:\work\demo", and clone the same. Repository roots are canonicalized (repo/mod.rs open/init, workspace, store, git import, cli sync), and on Windowscanonicalizereturns the verbatim (\?) form, which then shows in every message.Fix: one helper that canonicalizes and, on Windows, drops the \?\ prefix when the plain form names the same path (a drive path under the old length limit, or \?\UNC\ as \), as the dunce crate does; used at each call site.