SCM-1: One repo on Darcs: try another way of keeping history
Size: S · Needs first: — · Done when: one small repo has lived on Darcs for a few weeks, and there's a note saying whether to move another
Parked 2026-11-01: an idea to come back to, not today's work.
Next step
Pick a local repo with no remote and nothing depending on it. Convert it once, one way, as a script with a run log; keep the git copy untouched until it's proved itself.
Parts
Software only; nothing to buy. darcs from nixpkgs, in that repo's flake.
Ideas (2026-11-01)
- Why: no allegiance to git, and it would be refreshing. Darcs treats history as a set of patches that can commute, not a line, and it's written in Haskell, also worth trying.
- One way, once:
darcs convert importfrom git's fast-export, then keep on keeping on, rather than a bridge going back and forth. Details from memory: check them first. - What can move, repo by repo. Each repo's dependencies decide. Whatever has a git forge, CI or a binary cache behind it, or a project that only takes git, stays where it is. So does anything with tools built around git (commit and deploy decks, guards, build stamps) until those are looked at.
- Nix doesn't need git; flakes lean on it. In a git repo a flake sees only tracked files.
Outside git it still works (
path:), but copies the whole directory into the store each time, build output and all, so it wants a clean directory. Flake inputs also take paths, tarballs and Mercurial; no Darcs input type that I know of (nixpkgs hasfetchdarcsfor packages). Non-flake Nix doesn't care. Test this first on the repo chosen. - Others to look at while here: Jujutsu (
jj: sits on a git repo, working copy always a commit, undo log, conflicts recorded for later: costs almost nothing to try), Pijul (Darcs' idea on sounder maths; small community), Sapling, Fossil, Mercurial. Their current state wants checking; this is from memory.