LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible problem with Tortoise SVN 1.8

I just built a new PC, and when installing Tortoise SVN, I upgraded to the latest version of the Client, 1.8.2.  There is a note on the TortoiseSVN site that says that Version 1.8 represents a new storage format for the Working Copy, rendering the new WC incompatible with 1.7 Clients, but as I'm the only "user" of the WC, and we haven't changed the Server handling the Repository, this seemed like a safe move.

 

I just Updated a Project.  To my surprise (and possible horror), Tortoise indicated that it was merging a number of changed VIs (it had never done merges of VIs in previous 1.6 or 1.7 clients).  In my panic, I accidently deleted the SVN description of what it had done, so I'm not sure how to figure out if I am truly "in trouble" here.

 

Has anyone else using TortoiseSVN with LabVIEW updated to a 1.8 client?  Are you seeing what are described as merges when you update?  Is this (adversely) affecting your LabVIEW code?  Any ideas on a work-around, or how to deal with this issue?

 

Bob Schor

0 Kudos
Message 1 of 8
(4,501 Views)

Hi Bob,

 

I use Tortoise and also upgraded to the latest version.

 

When upgrading from 1.7.x to 1.8 you have once to call "Clean up" (or similar, it's described in the upgrade notes) to convert SVN descriptions on the working directory. No merging, no hassle.

Everything runs fine like before...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
(4,499 Views)

@GerdW wrote:

Hi Bob,

 

I use Tortoise and also upgraded to the latest version.

 

When upgrading from 1.7.x to 1.8 you have once to call "Clean up" (or similar, it's described in the upgrade notes) to convert SVN descriptions on the working directory. No merging, no hassle.

Everything runs fine like before...


What's annoying about this (and other similar Tortoise SVN upgrades in the past) is that all the folders and files with old SVN info lose their icons, making it difficult to remember which folders are versioned.  The only clue is that if you right-click on a folder, it will say something about updating or upgrading.  i wish they could put some sort of icon to tell you this is a versioned folder, but it needs to be converted.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 8
(4,485 Views)

This might be a case of the Boy Who Cried Wolf.  I've just built a new PC, and have just completed installing LabVIEW.  I'm using "old" Working Copies (from a previous PC) that were created with TSVN 1.7.13.  On this machine, I've installed 1.8.2.

 

I did some editing (forgetting the general rule to Update First), then remembered I hadn't updated.  I clicked "Update", and got a message to "Upgrade to Version 1.8".  I presume this is the "Clean-up" message that you mentioned (though there is also a "Clean-up" on the right-click drop-down menu, which I did not do).

 

After doing this, I again tried to Update, and that's when I saw that TSVN was reporting that it merged several VI files.

 

I've since tried to duplicate this behavior (by copying over an un-upgraded 1.7-style Working Copy and going through the same motions_, but I didn't see any merges.  Not sure what's going on, but am a tad nervous.  I'll keep experimenting ...

 

0 Kudos
Message 4 of 8
(4,470 Views)

I think that at some point (I think it was actually 1.7) TSVN added a feature that automatically merges changes if you update when you already have modified files. Obviously, this can be bad if these are things like VIs or LV XML files (like projects or libraries) which don't really like the merging SVN does. I seem to recall that disabling that feature is not too straightforward (I think you have to open the config file and tell SVN to use an executable which doesn't do anything, like a batch file, but I don't have the instructions which I'm sure I wrote down in our SVN docs in front of me).


___________________
Try to take over the world!
0 Kudos
Message 5 of 8
(4,450 Views)

I've done some more testing, and have talked to several other people who have upgraded a Working Copy to Tortoise Subversion 1.8.  I have attempted to duplicate the conditions that led TSVN to report that (on an update) it had merged VIs, but this did not recur.  I've since upgraded other Working Copies, done other Updates and Commits, and have not detected any problems with Tortoise Subversion 1.8.

 

I still do not understand why my first update with TSVN showed a Merged status for some VIs, but it appears that (a) the behavior of TSVN with LabVIEW code seems unchanged, and (b) whatever was done on my initial Update left my VIs completely undamaged, suggesting a "VI Merge" did not, in fact, take place.

 

The bottom line is that TortoiseSVN continues to be an extremely useful tool for LabVIEW developers to use to manage their code.

 

Bob Schor

0 Kudos
Message 6 of 8
(4,419 Views)

This is the relevant section - http://tortoisesvn.tigris.org/faq.html#noautomerge

 

Like I said, I'm pretty sure this was added in 1.7.


___________________
Try to take over the world!
0 Kudos
Message 7 of 8
(4,408 Views)

Thanks.  I've seen this (and re-read it yesterday trying to research the "merge" that I observed), but have never bothered to install it, and never seemed to need it.  The other thing that I was considering is that TSVN will not to a merge on files whose "mime" type it identifies as binary.  This is easier to configure, as you can do it by editing TSVN's Settings, a text file that is accessible if you go into the Settings option in TSVN and click on the Edit button.  As I'd never altered this, either, I decided to leave it at the default, and have not been "bothered" except for the initial observation yesterday that I'm now willing to consider a one-time "fluke", possibly related to the first time running TSVN on a new PC with a fresh install of lots of software (including multiple versions of LabVIEW and TSVN 1.8.2).

0 Kudos
Message 8 of 8
(4,382 Views)