Question

We use Mercurial for our source control for C# and Progress code.

We are now developing in Microsoft's Dynamic NAV. There is no built-in source control and it's awkward (and error-prone) to manually put code in/out of our Mercurial repository for versioning.

I was wondering if anyone has developed an homegrown, integrated source control system for NAV using Mercurial. What were the steps and what advice/ideas can you share?

Was it helpful?

Solution

You could put together some scripts to automatically export and import from C/SIDE to TXT files, combined with "hg add" / "hg update".

If you're on NAV 2013, then you can export by running finsql.exe with the ExportObjects command. I don't think this works directly on earlier versions, but you can probably do something similar with the EXPORTOBJECTS function in app code. There is corresponding functionality for importing.

This post on Waldo's blog might also be interesting. He also has many other posts which are relevant, as he is from the team behind Revision, an integration between NAV and TFS.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top