4 years, 1 month ago.

Mercurial external offline library repository import into into mbed

I like to import and external library repository including the hg version history into an new mbed library repository. I like to include the entire .hg data to preserve all my checkin history/comments.

Any ideas how this can be done?

1 Answer

4 years, 1 month ago.

you need to install the mercuial vcs tools for this. Another easy way is to use the mbd-cli, there is an windows installer that installs also hg and git tools. Then the lib is imported with 'mbed import url'. The mbed-cli installer: https://developer.mbed.org/blog/entry/windows-installer-for-mbed-cli/

I believe you are telling me how to import an mbed lib offline, this works fine. I have the other way around a local (non mbed) created source repro with a lot of version history which I need to bring into the online mbed.

posted by Helmut Tschemernjak 18 Aug 2017

sorry for the misunderstanding. Importing to the online compiler is even easier: Just zip the library files including .the .hg history subdir. Then use drag&drop to import it to your project folder in the online compiler.

posted by Johannes Stratmann 19 Aug 2017

Hallo Johannes, Danke This works fine, just too easy for me. I was looking for a menu etc. Thanks.

posted by Helmut Tschemernjak 19 Aug 2017