Jump to content

Talk:Subversion

From mediawiki.org
Revision as of 07:42, 5 December 2006 by Skierpage (talk | contribs) (Eclipse: add links)

Latest comment: 19 years ago by Skierpage in topic Eclipse

About the "/trunk"...

Really, do not leave off the /trunk portion of the URL. You'll end up downloading a couple hundred megs of branched and tagged copies of the entire source tree, which is over thirty thousand files, and all that has to come from brion's server. - AnarkiDotNET 24.22.40.216 15:27, 1 April 2006 (UTC)Reply

More tool SVN tools

It could be a good idea to mention the other SVN tools available. Especially for use *yuck* windows users ;). I like to use TortoiseSVN it greatly helped me from the switch from the WinCVS client. It allowed me NOT to fallback on the dos command line version of SVN. Plus TortoiseSVN is so much packed with goodies (diff, repo-browser, log viewer, revision graph etc...)

My 2 cents. Christian

bad diff?

Has anybody else had a problem applying the diffs? I find that if I do a diff, revert, then patch, it fails because is toesn't like the last chunk. This chunk looks pretty useless, so I can remove it and it will be OK. Maybe there's some problem with svn or patch?

The useless chunk is just

@@ -4809,3 +4843,3 @@
}

?>

Do patches need to be fixed before sumbitting? -Sanbeg 19:13, 15 September 2006 (UTC)Reply

Eclipse

I installed Eclipse, then installed the Subversive extension for from Polarion Software (and the fine PHPeclipse extension). Then from the SVN Repository Exploring view that Subversive adds to Eclipse, I chose File > New > Repository Location... and entered a Root URL of http://svn.wikimedia.org/svnroot/mediawiki/.

One way to check out the files is to right-click on a repository and choose Find/Check Out As... I checked out as a project configured using the New Project Wizard so that I could specify the project is a PHP project. I think File > New > Other... > SVN > Projects from SVN would work.

If you have write access to the server, you can use svn+ssh:... as the Root URL. For what it's worth, the public key with passphrase that I created within Eclipse "Generate DSA Key..." wasn't decryptable in OpenSSH, I created a new one using OpenSSH's ssh-keygen.

If your Eclipse project lives outside your Web server docroot and you don't want to modify your Web server to find its files, you can create a linked resource in your project (read the Eclipse help on Linked Resources).

-- Skierpage 05:24, 5 December 2006 (UTC)Reply

How do I add this repository to Eclipse? 81.62.49.190 08:12, 16 October 2006 (UTC)Reply

I hope the above helps! -- Skierpage 05:24, 5 December 2006 (UTC)Reply