[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Need a subversion client that does Share Project like Subclipse does

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-08-04 21:02:28 CEST

On 8/4/07, Dean Schulze <dean_w_schulze@yahoo.com> wrote:
> I use subversion to store files that aren't part of an Eclipse project. I
> need a standalone subversion client that has the same functionality as the
> subclipse Share Project command.
>
> I've tried TortoiseSVN, but it suffers from the CVS brain damage that leaves
> you with a non-working copy after you initially commit your files into
> subversion. You have to rename the directory you just checked in and do a
> check out to get the files you just checked in.
>
> This causes a real problem when you the directory structure you just checked
> in has files in the global-ignores, e.g. an Eclipse project with things like
> .classpath and .project in the global-ignores. After doing the import /
> check out dance with TortoiseSVN you have to find and copy all the ignored
> files from the original directory structure to the one you just checked out.
>
> There are lots of subversion clients out there. Do any of them have
> functionality like Subclipse Share Project?

The things that Subclipse are doing should be doable with any client.
The command line will certainly work.

Just do this:

1) Make a directory in the repository for the project:

svn mkdir -m "Initial import" url://server/repos/project/trunk

2) Checkout that folder to the root of the location with your files.

svn co url://server/repos/project/trunk LocalFolder

3) Add and commit.

svn add -R .
svn ci -m "Initial import"

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sat Aug 4 21:00:47 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.