We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Can somebody enlighten me as to how one populates a new branch from the existing trunk of a subversion repository?
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 25663 MODX Staff
      • 12,272 Posts
      Just use the SVN copy command from the revision/branch you’d like and go. Which client are you using?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        I’m using svnx; a bit more Google searching after I posted and I found the answer. I’m setting up a branch in the googlecode repository for WebLoginPE; I’m doing some extensive work on it and figured I might as well make it easier for whomever it concerns to review my modifications.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Ok, I’ve got my branch set up, and checked out the files from my branch. Now I’ve updated a bunch of the files in my local repository; do I "refresh" or "commit"? I’m afraid to "commit" for fear I’ll be overwriting the trunk. Or will "commit" only upload my changed files to the location I checked out from?
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 10487 MODX Staff
            • 1,535 Posts
            If you’re working locally on your checked-out branch, then committing the changes will update that specific branch in the SVN repository (not the trunk)
              Garry Nutting
              Senior Developer
              MODX, LLC

              Email: [email protected]
              Twitter: @garryn
              Web: modx.com
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              OK, on your head be it if I royally screw something up! grin
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 24935
                • 160 Posts
                The command ’svn info’ will tell you the URL that your working copy is coming from (and where it will sync too). There is probably a context menu option for it in your program.

                Even if you do mess up, you can roll back to a previous version.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  ’sOK, rfoster, I get there in the end; I just do a lot of squawking and flapping on the way. Hard to teach an old bi... er, dog new tricks.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org