Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Has anyone created a homegrown source control add-in for NAV that uses Mercurial

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?

like image 214
Doug J. Huras Avatar asked Sep 28 '12 17:09

Doug J. Huras


Video Answer


1 Answers

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.

like image 103
Allanrbo Avatar answered Oct 07 '22 12:10

Allanrbo