Thanks, I will keep committing all changes at the same time. Might make less changes between each commit to reduce the information that should be included in the log. I have not been committing changes regularly as I am the only developer. Cages
cages
Posts
-
SVN commit single file or project folder -
SVN commit single file or project folderI am working on a VB.Net project and have been using SVN(tortise SVN) for version control. So far I have been making commits on the whole project folder so all files that have been changed are committed at the same time and the log comments apply to all the changed files . Is there any advantage in committing single files at a time when I have made changes to a group of source code files. Any advice on best practice would be helpful. This is the first project I put under version control that has really grown in file count size. Thanks, cages
-
CSV file logging data on timer eventThe data are double values that represent temperature(the usb device is a teperature logger). The data will be logged for about 3 hours.
-
CSV file logging data on timer eventI am logging data from a USB device (pooling the device) using a timer component with C#. Every 250ms (timer tick) I read the data from the device and save it to a CSV (coma separated value) file. I just thought I should ask if there is anyway to improve on the saving of the file. I am new to C#/.net so would really like a review of the idea. 1. Every timer tick I read two values from an object (the USB device interface). 2. Open the file by creating a Steame writer object; StreamWrite out = new StreamWriter(filename, true). 3.Write the values to the file out.Writeline("{0},{1}",value1,value2); 4.Close the file. out.close(); The main question is should I keep opening and closing the file every tick or should I open it when the logging starts and close it when the user stops the logging of the data? The reason I close the file is so if the application fails I do not lose any data.( the file is being used only by this application). Any comments to improve the code will be useful. Thanks cages
-
Files in a VB.NET project to put under Version controlI will try working on a simple project not including the: obj and bin folders .suo and .vbproj.user files I can't use VisualSVN as I am working with the Express version of VS. Does any one know what files VisualSVN puts under source control? Is there a document that explains the project structure for VB.NET? Thanks, cages
-
Files in a VB.NET project to put under Version controlI am learning to program in VB.NET(2008 Express) and also learning to use version control software (TortiseSVN). I am creating simple projects with VS while I learn the language(Using the book VB 2008 Step by Step ). I have not been able to determine if I should put all the files in the project directroy under version control and if not what files and folders to exclude. I am not sure what the files in the project directory do, any infomation would really be helpful. eg of contents of project folder. bin (folder) My Project (folder) obj (folder) *.vb *.resx *.vb *.sln *.suo *vbproj *.vbproj.user Thanks cages