exlinc / mdlr

MDLR ("Modular") gives you declarative and easy Git 'submodules without the pain of submodules'
Apache License 2.0
27 stars 2 forks source link

Possible bug with existing subrepo #5

Open BarbzYHOOL opened 6 years ago

BarbzYHOOL commented 6 years ago

I think I found a bug, but can't really reproduce (I had it the first time I used mdlr)

I had a repository with another repo inside it but not declared as a submodule. I did this:

mdlr init
mdlr add ...
mdlr import -f

And it seems like the import didn't overwrite or work because it was already there.

Then I retried but I first deleted the subrepository and it worked fine. I can't say more :P

svarlamov commented 5 years ago

I'm not sure what could cause such behavior, assuming that the mdlr.yml file was properly configured since, during a force operation, the dir is cleared entirely regardless of whether or not it might exist I believe