This Question is Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
10 Replies Last post: Jul 9, 2008 3:05 PM by Rayz  
Rayz Apprentice 838 posts since
Aug 27, 2002
Currently Being Moderated

Jun 4, 2008 3:52 PM

SVN - How do you share a project?

I'm not sure if this is a problem or just something I'm not getting; but if you have a new project on a PC, how do I get it into Subversion, using IDEA.

 

I thought I had to just share the directory, but that doesn't appear to do anything. So I tried just importing the project, which created all the files on the repository, but didn't create any of the .svn folders it needs to link the files to the repo.

 

I'm using Diana #8418

Dave Levitt Novice 172 posts since
Feb 24, 2004
Currently Being Moderated
Jun 4, 2008 4:53 PM in response to: Rayz
Re: SVN - How do you share a project?

Please note - I have not tried importing a project into svn using Idea, but I do use Idea to work with projects already in subversion.

 

With most subversion clients the svn command line, TortiseSVN for Windows, importing a project a directory hierarchy into subversion and placing it into revision control does not transform the local filesystem copy of the project into a subversion 'working copy'. The idea here is to be completely non intrusive, altering nothing on the original.

 

After the project is stored inside subversion, the next step is to check out a working copy from the repository - I have done this using Idea. Idea does not display the 'hidden' .svn directories in the project view.

 

For general  not Idea specific, subversion information, take a look at http://subversion.tigris.org - there are links from there to the 'SVN Book' and the mailing list archives.

 

Edited by: Dave Levitt on Jun 4, 2008 8:51 AM parenthetical remarks translated to links

 

Edited by: Dave Levitt on Jun 4, 2008 8:52 AM

Guest
Currently Being Moderated
Jun 4, 2008 5:31 PM in response to: Rayz
Re: SVN - How do you share a project?

Rayz wrote:

I'm not sure if this is a problem or just something I'm not getting; but if you have a new project on a PC, how do I get it into Subversion, using IDEA.

 

I thought I had to just share the directory, but that doesn't appear to do anything. So I tried just importing the project, which created all the files on the repository, but didn't create any of the .svn folders it needs to link the files to the repo.

You need to check the files back out again in order to associate them

with the vcs.

 

N.

 

t800t8  Apprentice 853 posts since
May 20, 2005
Currently Being Moderated
Jun 4, 2008 5:31 PM in response to: Rayz
Re: SVN - How do you share a project?

It's because of IDEA's sharing feature is broken http://jetbrains.net/jira/browse/IDEADEV-17633

Irina Chernushina (JetBrains) JetBrains 145 posts since
Jul 1, 2008
Currently Being Moderated
Jul 9, 2008 1:45 PM in response to: t800t8
Re: SVN - How do you share a project?

Hello all,

I've just fixed the problem with "Share Directory" action. Hope it will be ok in the next EAP.

Tal G Newbie 1 posts since
Jun 30, 2008
Currently Being Moderated
Jun 30, 2008 8:31 PM in response to: Rayz
Re: SVN - How do you share a project?

This is indeed unintuitive. It's a weird process : import into subversion, then you have to export to a new folder (the current one will say it already has these files/directories when you try to check out).

The other option is to add all the files (after importing the project) using the subverion->add menu then delete the project from the repository and updating the current project.

Both approaches seems convoluted, weird and uncharacteristic of Intellij's (usually) great workflows.

More Like This

  • Retrieving data ...