Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. SVN commit single file or project folder

SVN commit single file or project folder

Scheduled Pinned Locked Moved Visual Basic
collaborationcsharpdiscussionannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cages
    wrote on last edited by
    #1

    I 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

    R D 2 Replies Last reply
    0
    • C cages

      I 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

      R Offline
      R Offline
      RobCroll
      wrote on last edited by
      #2

      What you are doing is standard. I'm not aware of any advantage to committing single files. Sometimes other developers are waiting for your changes so that could be a reason. Best to complete a single task and commit before starting another task, if possible.

      "You get that on the big jobs."

      C 1 Reply Last reply
      0
      • C cages

        I 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

        D Offline
        D Offline
        David Mujica
        wrote on last edited by
        #3

        It's been a few years since I used SVN (Tortoise SVN), but from what I remember is that SVN is actually quite good at posting only the necessary changes back to the repository each time you commit. For example, if you had a 100 line SQL script and you made 2 lines of change, the only thing that was actually stored back in SVN was the 2 lines of change. At least that is what I remember ... I could be wrong. Remember that you don't need to version control the binary files created by Visual Studio, only the source files. Storing of binary files may not be very efficient in SVN. My 2 cents. :)

        1 Reply Last reply
        0
        • R RobCroll

          What you are doing is standard. I'm not aware of any advantage to committing single files. Sometimes other developers are waiting for your changes so that could be a reason. Best to complete a single task and commit before starting another task, if possible.

          "You get that on the big jobs."

          C Offline
          C Offline
          cages
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups