RayR Posted December 10, 2013 Report Share Posted December 10, 2013 We have a multi-site, multi-developer project. The code uses LVOOP with LV2012 SP1. I am looking for suggestions, tools, etc to simplify checking in code (committing for SVN). At the moment, we have to use SVN and it is unlikely to change. A quote from Jim K in February 2011: "Jim Kring demo the JKI TortoiseSVN Tool for LabVIEW and talk about the next big thing: Distributed Version Controls Systems (DVCS) and the benefits they will bring to software engineering in LabVIEW." Did anything evolve from this? Does the JKI Tool support multi-user in the sense that it facilitates commiting code with SVN without having to resolve any conflicts. I am mostly concerned with mis-matches with the lvproj, but SVN should be able to handle that with Merge or Compare functions. Any comments on this topic? Euh... yes, I am aware that there are other Source Control than SVN, but that is way beyond the realm of my influence. Thanks, RayR Quote Link to comment
RayR Posted December 10, 2013 Author Report Share Posted December 10, 2013 We tried an experiment.. It appears that all we need to do is to merge the lvproj before committing the code. If that is all, then it is not a major issue... For some unknown reason, I think there might be more to this.. If anyone has had bizzare experiences, do share.. I will provide an update as well.. Quote Link to comment
Ton Plomp Posted December 12, 2013 Report Share Posted December 12, 2013 One thing you need to be wary with SVN, is that you need to be connected to the server if you want to check in your code. By using a DVCS you can check in without being connected. Upon committing to the central server you will perform a merge. Ton Quote Link to comment
Yair Posted December 18, 2013 Report Share Posted December 18, 2013 I also seem to remember people saying that even though the lvproj file is ostensibly XML, merging it sometimes causes later loads to fail (maybe because of non-standard XML or binary elements in it), but I don't remember having practical experience with merging project files. In any case, if you have conflicts, they will have to be resolved (which in LV, probably means using the LVmerge EXE). Additional relevant points: Viewpoint recently released a TSVN toolkit which integrates straight into the project tree and is supposed to be very good and free. I haven't tested it myself because my TSVN version is too old and can't support it. There's a long series of detailed posts about working with SCC in LV, including SVN. It's probably worth reading at least the relevant parts. You can see the list here - https://decibel.ni.com/content/groups/atlanta/blog/2013/11/04/some-basic-git-info 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.