Slashdot Mirror


SVN's svn:externals To GIT's Submodule

mcnazar writes "Do you manage your Rails Plugins via svn:externals? Thinking of switching to Git but are concerned that Git lacks a direct equivalent of svn:externals? In this article I present a work-around or even IMHO a better solution than SVN's svn:externals."

6 of 40 comments (clear)

  1. SVN branching a daunting task? by Anonymous Coward · · Score: 1, Informative
    FTFA:

    [Git] encourages more experimentation in your code by making branch a trivial as opposed to a daunting task. Because svn cp $REPO/trunk $REPO/branches/my_new_branch is too scary?
    1. Re:SVN branching a daunting task? by Atti+K. · · Score: 4, Informative

      Branching is easy. Merging them together again... well... What SVN lacks is merge tracking (a la ClearCase, for example - which is otherwise a horrible product, but that's not the point here). They plan to introduce it in 1.5, though.

      --
      .sig: No such file or directory
    2. Re:SVN branching a daunting task? by Entrope · · Score: 3, Informative

      Proper merge tracking has been on the "we plan to introduce it" list for Subversion since well before 1.0, along with a few other things that most strongly-formal customers expect from version control systems (like useful history tracking/recovery in the face of file renames; issue #928). At least they claim merge tracking is actually on trunk now (issue #820) -- I'll believe it works decently when I see it.

    3. Re:SVN branching a daunting task? by lagfest · · Score: 4, Informative

      Merge tracking is the main feature of 1.5, which, according to this guy, is in beta right now. He does a demo of it too.

  2. Re:GIT lecture by mcnazar · · Score: 3, Informative

    Its a very informative and quite funny talk actually. Google Video host another GIT video here.

  3. Re:svn:external vs git submodules by mcnazar · · Score: 2, Informative

    You are correct in that Git does not support partial checkouts. This has been the biggest hurdle in my SVN to Git transition. Yes it is a pain but the benefits I gain (disconnected development from my SVN respository whilst off the network) makes up for this.