3 ms·
Ugh. I once tried using reposurgeon to fix up a repository history after conversion from CVS, where the first couple of checkins were converted into individual
by pwdisswordfish2 7y ago
Ugh. I once tried using reposurgeon to fix up a repository history after conversion from CVS, where the first couple of checkins were converted into individual commits for each file. The thing was unusable. After hours of trying to understand the bizarre, underspecified DSL, I couldn't find anything that would let me combine a number of sets of commits and define parent relationships between them. There was some command that launched Python REPL, but when I tried it, the program crashed (I don't remember why exactly, but I think it was because of a typo in the code). I don't understand why a DSL was even necessary in the first place. The whole thing could have just been a library.
I ended up writing my own parser for git fast-import streams from scratch; it was easier than dealing with this mess. What a shame this domain hasn't been touched by someone more competent than ESR.