Re:Pijul – The Mathematically Sound Version Control System W...
by pmeunier on Sunday November 29, 2020 @02:34PM
(#25247399)
Yes! The `pijul git` command allows you to import Pijul repositories by replaying their history. It also works incrementally, meaning that if you already imported a repository, you'll be able to continue new commits.
This uses a somewhat naive way of doing things, and can take a very long time on large repositories. One other way of doing it would be to add an "initial change" explicitly saying "I'm coming from Git commit number #SHA1HASH".
Re:Pijul – The Mathematically Sound Version Control System W...
by kadoban on Sunday November 29, 2020 @02:44PM
(#25247478)
Thanks! I'll definitely give that a try, just looking at the docs real quick it sounds pretty doable.
I can think of at least twice in the last month that I _think_ this would have saved me some effort, be interesting to give it a go. Cheers!
Re:Pijul – The Mathematically Sound Version Control System W...
by gnufx on Sunday November 29, 2020 @04:53PM
(#25248435)
For what it's worth, you can do that with Darcs import/export. I've kept parallel git and hg repos synced that way with a cron job; it could be done with a hook, but that slowed down pushes too much in my case. (Doing that basically assumes one branch, i.e. linear development in Darcs.)
Re:Pijul – The Mathematically Sound Version Control System W...
by onetimertwo on Sunday November 29, 2020 @02:23PM
(#25247314)
This.
Back when there used to be some projects still stuck on svn that I wanted to work on, I was able to use git locally and just kind of "publish" via svn when I was done.
Would anything like that be possible? That'd be the killer thing for me to be able to give Pijul a real try.