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

Re: How to get initial working copy without doing a checkout?

From: Marcus Rohrmoser <mrohrmoser_at_gmx-gmbh.de>
Date: 2005-03-17 16:35:07 CET

Assumed you have an empty trunk:

$ svn co svn+ssh://server/myproject/trunk myproject
$ cd myproject
$ mv oldlocation/myproject/* myproject
$ svn add myproject/*
$ svn ci -m "Add instead of import"
$ svn up myproject

voila!

Greetings,
        M

Tolga Erdogus schrieb:
> Hi,
>
> Is there any way to import and checkout a new working directory at the same
> time?
>
> When I have a large working directory that I want to place under revision
> control, and therefore do an import in to my repository, it's a little silly
> to rename my original directory and then do a checkout of the just imported
> directory back to my machine under the original directory name.
>
> Isn't there a way to do this all at once so that a large directory doesn't
> have to travel up the wire and then back down again, even though I am
> totally sure that the two directories are identical?
>
> This is especially painful because I am experiencing very large checkout
> times for large directories (significantly larger times than it took to
> import the same directory)...
>
> Thanks...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

--
Marcus Rohrmoser
Software Entwickler
GMX GmbH, Riesstr. 17, 80992 München
Telefon +49 89 14339-539
----
EMail Sicherheit ganz einfach:
http://www.thunderbird-mail.de/extensions/enigmail/enigmail.php

Received on Thu Mar 17 16:39:06 2005

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

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