A working version.
I tested it with various git repositories I had on my
machine (cryptol, pandoc, gitit, git, ghc, learn you a haskell)
which helped me found cases where the interaction between file moves
and new directories could be problematic. Also (and unlike Owen's
darcs-bridge if I'm not mistaken), this current code does delete empty
directories after a file move.
In the shell tests, after converting to darcs it is important
to run "darcs check" since I had cases where I made the import code
create inconsistent pristines.
I've added an explicit dependency on the patch that modifies RL. This also
implies that the bundle will not make it to branch 2.10.
3 patches for repository http://darcs.net:
patch 21d147a476e4db70e66bc26d1259742f1f2f1215
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Mon Jan 25 11:21:11 ART 2016
* tests related to git import of file moves
patch ccaa9c41ffc77ee08eba120ca33ef47bbbc4a5a6
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Mon Jan 25 11:22:08 ART 2016
* recommend using -M flag on git fast-export
patch 2a6b06f9a17ec0bcf28cb164684e6c678bc86631
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Mon Jan 25 11:40:46 ART 2016
* handle file moves and copies when importing from git
Ported from Owen Stephen's darcs-bridge
Attachments
|