LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up Subversion/PushOK and Projects

I don't understand.  Can you explain a bit more about the problems you've seen when using Mass Compile.

 

BTW, for the poster, who asked about the name, I believe that Tortoise was chosen because it is a Windows "shell" for SVN.  Of course, I could be wrong on that as well...   😉 

0 Kudos
Message 11 of 17
(2,242 Views)
I think you would use either Tortoise SVN or integrate with LV (using PushOK) to manage the revision control.  Though it is convenient to have both installed to manage things manually with TSVN as well.   I personally only use TSVN to manage the revision control (checkout-commit-update...).  It is very simple and works fine, however renaming files is a little cumbersome as the LV project and the source control both needs to be told that the file name changed.  If you manage to integrate with LV this particular task might not be an issue.
Rob
0 Kudos
Message 12 of 17
(2,218 Views)

I agree about renaming files from within the Project, I avoid it at all costs as it confuses TSVN when files suddenly disappear.

 

Instead of renaming, I make a copy of the VI with the desired new name, this way you can add the new file into your repository, and can manually delete the old file using TSVN. 

0 Kudos
Message 13 of 17
(2,209 Views)

For those who may be still reviewing this thread, LV2009 now has a compare utility that allows integrating this functionality from within TortoiseSVN. 

 

1. Right-click a versioned file in file explorer -> Select TortoiseSVN -> Settings

2. Go to external programs -> diff viewer

3. Click Advanced...

4. Click Add...

    In Extension box type: 

      .vi

 

    In External program type:

       C:\Program files\National Instruments\Shared\LabVIEW Compare\LVCompare.exe" %base %mine -nofppos -nobdpos

 

    (the last two optional flags are just used to ignore certain cosmetic changes)

 

This works well, with one caveat: Any sub-VIs in a different folder than the VI will have to be localized manually since this will be running outside the project.  But it's great to have this functionality now. Thanks for listening, NI.Smiley Happy

 

 

Message Edited by robdevyogi on 06-16-2010 05:45 PM
Rob
Message 14 of 17
(1,774 Views)

Just a single double quote in the command line and not a balanced pair?

0 Kudos
Message 15 of 17
(1,731 Views)

Yes..

 

"C:\Program files\National Instruments\Shared\LabVIEW Compare\LVCompare.exe" %base %mine -nofppos -nobdpos

Rob
0 Kudos
Message 16 of 17
(1,693 Views)

So you mean: No.  The double quote at the beginning of the line didn't show up in the original reply.  Also if running in W7 64-bit the command line needs to include Program Files (x86) and not just Program Files.

 

 

0 Kudos
Message 17 of 17
(1,640 Views)