SVN's svn:externals To GIT's Submodule 40
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."
SVN branching a daunting task? (Score:1, Informative)
Re:SVN branching a daunting task? (Score:4, Informative)
Re: (Score:3, Informative)
Re:SVN branching a daunting task? (Score:4, Informative)
Re: (Score:3, Interesting)
Personally, when I have to interact with a project that uses svn (as I do daily in my job) I use bzr with its svn integration.
Re: (Score:2)
Re: (Score:1)
Alternatively you can use svk [bestpractical.com].
Re: (Score:2)
Re: (Score:2)
As for versioning branches? Why would you? If you delete a branch, you must not need it for anything. Why archive it? If you need it, don't delete it in the
Re: (Score:2)
Re: (Score:2)
svn merge $REPO/trunk . -r...^C
svn log
#shit, this is taking too long
^C
svn log --limit 10 | less
svn merge $REPO/trunk . -r123:HEAD
# Now go resolve some conflicts
This is less painful if you do it often, because there will be fewer conflicts and surprises. But doing it often is, itself, painful, because of how needlessly complex that process is. And then when it's time to merge back to trunk, well, first you do the above, then you do this:
cd
svn update -r...^C
cd
svn log
Re: (Score:2)
Re: (Score:2)
Can svnmerge do that?
GIT lecture (Score:5, Interesting)
And don't believe Linus when he says he's not a good speaker.
Re: (Score:3, Informative)
Re: (Score:3, Interesting)
Again I was impressed. It has been a while since I've tried git and I was amazed at how easy it was to do some easy stuff. I grabbed a source tarball and built it (on my mac) and it installed perfectly. Then I used it git to get the git source via http. That worked flawlessly. I went through some examples
Re: (Score:2)
But I have used both SVN and Mercurial. Boy, the Mercurial has totally superior features compared to SVN. It has much better support for move and especially merge that it really makes SVN look as a childs toy in this respect.
I have not used them so much as to claim either is better overall (robustness, multiplatform support, integration other tools, etc.). But the merge on SVN really sucks.
Thundercats Ho!!!!! (Score:1)
As far as I can tell, it looks like it might be a direct steal, with a little bit of cleanup. I'm a bit surprised that any company would be using a stolen image as their logo.
Re: (Score:2)
I wrote an email to them to inform them, in case they didn't know.
svn:external vs git submodules (Score:3, Interesting)
Re: (Score:2, Informative)
Re: (Score:1)
Silly name, great software (Score:2)
Re: (Score:1)
Re: (Score:2)
> or is GIT now The One True Way?
Seems like the other distributed SCMs have their fans too; I've gotten requests on RubyForge for Mercurial [rubyforge.org], monotone [rubyforge.org], darcs, etc. There's a request in for git [rubyforge.org], too. Just need to take some time and set that stuff up and see which ones folks start using, I guess.
Re: (Score:2)
Do not forget bazaar...
Re: (Score:2)
But is it the correct hammer? (Score:2)
Re: (Score:2)
I don't know about that. I've been using git on my latest single-developer project just as a way to keep a log of changes and roll back stupid mistakes - basically the same stuff you're using SVN for.
Git has one huge advantage over SVN - it does
Not Git, but (Score:2)
Of course, you want IDE integration, so your mileage may vary quite a bit. I would suggest that most of the learning curve is the same as the commandline svn tool, though, and you do want to know that, in case you need it. I used Tortoise for quite awhile, when I was on Windows, but every now and then, I'd have to grab the commandline svn client for some
Re: (Score:2)
Re: (Score:2)
Not worth booting Windows just to make sure I'm right, though.
Re: (Score:2)
I'm assuming you mean in the general case and not just linux kernel development? If I misunderstood what you were asking, ignore the
rest of this reply.
I don't use git, so this is pure hearsay and might be inaccurate, but the one semi-compelling argument I've heard against git is this:
IF your project is multi-platform (or, god forbid, windows only) and some subset
Giston for managing SVN externals from Git (Score:2, Interesting)
http://evil.che.lu/2008/1/18/ann-giston-0-2-0 [evil.che.lu]
SHAMELESS SELF PROMOTION
I produced an hour-long screencast tutorial on Git that has helped many people. Technically edited by Junio C. Hamano, available in Quicktime or Ogg Theora:
http://peepcode.com/products/git [peepcode.com]