Repository navigation
rust2(mv): GNU coreutils 9.4 mv library port + wiring + 146-row gate (#1488) - #1764
Merged
Merged
Conversation
caomengxuan666
force-pushed
the
rust2/mv-impl-devin
branch
2 times, most recently
from
November 15, 2026 08:30
ac3c27c to
a436cf3
Compare
…alog patch set, cmd-matrix rows Completes the mv port branch: CMake WINUXCMD_RUST2_COMMANDS entry, mv.cpp body retirement (the 1.x surface the port replaces), the catalog/ i18n patch set (en-US-mv extract + README-MV), and cmd-matrix.sh rows. cp/winfs.rs and lib.rs carry the shared-surface bits the port needs.
caomengxuan666
force-pushed
the
rust2/mv-impl-devin
branch
from
November 15, 2026 10:15
a436cf3 to
6d90cbc
Compare
This was referenced Nov 15, 2026
caomengxuan666
added a commit
that referenced
this pull request
Nov 15, 2026
…ly re-pinned, 158-row gate (#1488) (#1773) Reland of the mv wire (#1764, reverted in #1772) with the completion work G4 (devin-out-G4.md) — every one of the 12 previously-failing tests adjudicated by WSL GNU 9.4 oracle probe first: IMPLEMENTED (GNU-native semantics the port lacked): - directory-into-itself subdirectory detection + GNU error - trailing-slash destination-not-directory error - invalid --interactive mode error - 1283 drive-colon carrier fold in mv's operand boundary - #374 control-byte escapes in cannot-stat/same-file diagnostics (x3) - #1726 empty-destination failure RE-PINNED (9.5 DIFFERS extension on the 9.4 oracle, probe-attested): - --exchange family x3: GNU 9.4 rejects --exchange (unrecognized option rc 1); the tests now pin that contract, matching the mv lane's [DIFFERS] note in the shim. Gate: mv.tsv 146 -> 158 rows (new rows cover each implemented semantics), 158/158 green. mv.* gtest 47/47 (the 12 targets all pass). cp gate 105/105; cargo mv::tests 29/29. WSL byte-parity 12/12. Full gtest 4021/4037 (16 pre-existing env items). i18n: zero new messages — the 52 tr! keys hit the restored catalog patch (companion lands with this PR in unixwin/winuxcmd-i18n).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The mv-impl lane's port, rescued and rebased onto current main (D3 report: devin-out-D3.md).
Scope: mv.rs library port (GNU coreutils 9.4 mv.c semantics on the shared cp/winfs value model — reparse/junction identity, cross-volume fallback), lib.rs registry + CMake wiring, mv.cpp 1.x body retirement, mv.tsv gate (146 rows), catalog/ i18n patch set, cmd-matrix rows, cp/winfs.rs shared-surface bits.
Verification: cargo build clean (lib + driver); cargo test mv 29/0; rebase carried the union CMake entry and survived the #1750-era main moves.
Known-open: i18n-drift may list the mv keys until the catalog companion lands (catalog/zh-CN-mv-patch.json ships in-tree; captain sequences the push).