03-02-2020 07:38 PM
@billko wrote:
Make sure to tell SVN to treat lvlib and lvproj files as binary otherwise it gets hairy when two people accidentally edit the same file and SVN tries to be smart about merging the differences.
Ooooh, how you do dat? I don't use lvlibs very much, but I use Projects all the time, and I agree that merges are "hope and pray". I know about excluding files (in the .svnprops file), and tried to look this up once, but got lost, seeing Marcel Marceau everywhere (or some other Mime).
Bob Schor
03-02-2020 07:49 PM - edited 03-02-2020 07:51 PM
I was going to respond and say you need to add lines to your .gitattributes file, but then I realised you're asking about SVN.
These links might get you started, but I haven't tried it myself...
How do I tell Subversion to treat a file as a binary file?
Edit: I see you might already have had a traumatic experience with mimes... these will probably just reinforce that 😞
03-03-2020 03:21 AM
Interesting point billko. How did you do that?
Francesco
03-03-2020 08:55 AM
@cbutcher wrote:
I was going to respond and say you need to add lines to your .gitattributes file, but then I realised you're asking about SVN.
These links might get you started, but I haven't tried it myself...
How do I tell Subversion to treat a file as a binary file?
Edit: I see you might already have had a traumatic experience with mimes... these will probably just reinforce that 😞
Interesting. In your first link, there's an excerpt from SVN that shows how binary files are actually diff'd for archiving. I thought it only did that for text files. I wonder how efficient that is? For instance, for LabVIEW executables, if you made a minor revision and rebuilt the executable, are they even close enough binary-wise for a diff to actually be worth doing? I can imagine that they are so different that you're just wasting time trying to figure out what's different and you end up archiving most/all of the file anyway.
03-03-2020 08:59 AM
@FM82 wrote:
Interesting point billko. How did you do that?
Francesco
The post above yours (cbutcher's) shows how. You might need to be an SVN admin, depending on how it is set up.
03-04-2020 01:32 AM
I must thank you all for all the precious advices that you give me. Like I said before i made my choice and go for TortoiseSVN. First I'll try it and take confidence and then I will reccomend it for all that produce files in a computer on my company.
Thanks again,
Francesco