I have a Git repository and I need to use a library
that is delivered as source code that uses Mercurial as version control. I would like to keep the version control inside my git repository to be able to update the library in a easy way.
The current directory structure is as following:
root (git repo here)
directory1
...
directoryN
Is it safe to add the library in the root
folder and have the following configuration?
root (git repo here)
library_folder (mercurial repo here)
directory1
...
directoryN
If yes, are the changes made by updating library_folder
using mercurial visible to Git and are they safe to be committed to Git repo?
The workflow should be something like this:
- new updates available in the
library
- Developer_x pulls the library changes using Mercurial
- Developer_x commits/pushes the changes to Git repository
- All developers pull the changes using Git as usual and they have the
library
updates