You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chris Horn <ch...@beefstew.net> on 2007/11/29 05:21:05 UTC

Re: SVK & SVN co woes [was: SVN 'entries' Hacking - Safe?]

John Peacock wrote:
> For purposes of this discussion, you can ignore that SVK can *also* 
> mirror a remote Subversion server.  The key difference for you here is 
> that SVK will allow you to checkout into an existing directory tree and 
> subsequently manage any and/or all files from that checkout.

So, I took your advice and installed SVK.  Unfortunately, I've run into some 
trouble.  I know that this is the wrong list, but I'm hoping for a quick save...

The problem is that SVK won't checkout over an existing file structure (my 
original problem with SVN -- something that doesn't seem to work in 1.4.5, either).

1. Create folder foo in local test directory
2. svk co svn+ssh://user@host.com/var/svn/tags/rel-1-0-0/foo .
Checkout path foo already exists.
3. NO GO

Do you know how I'm supposed to checkout a repository over an existing file 
structure?

> If I were doing this, I would create an empty path in an SVK repo and 
> check it out over the top of /etc, then 'svk add' the files I wanted to 
> manage from the repository (e.g. not the files that the operating system 
> or GUI management tools mess with directly).  From that point on, those 
> files and only those files would be under version control.  Whether you 
> mirror that information to another repo is a completely independent 
> decision.

Unfortunately, I don't have the option of starting with a blank SVN repository.

Many thanks for everyone's help so far,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVK & SVN co woes [was: SVN 'entries' Hacking - Safe?]

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Nov 28, 2007, at 23:21, Chris Horn wrote:

> So, I took your advice and installed SVK.  Unfortunately, I've run  
> into some trouble.  I know that this is the wrong list, but I'm  
> hoping for a quick save...
>
> The problem is that SVK won't checkout over an existing file  
> structure (my original problem with SVN -- something that doesn't  
> seem to work in 1.4.5, either).
>
> 1. Create folder foo in local test directory
> 2. svk co svn+ssh://user@host.com/var/svn/tags/rel-1-0-0/foo .
> Checkout path foo already exists.
> 3. NO GO
>
> Do you know how I'm supposed to checkout a repository over an  
> existing file structure?


Having never used SVK, I don't know if there is an option to do that.

Subversion will have an option to do that in version 1.5, I believe.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVK & SVN co woes [was: SVN 'entries' Hacking - Safe?]

Posted by Chris Horn <ch...@beefstew.net>.
On Nov 29, 2007, at 09:34, John Peacock wrote:

> Chris Horn wrote:
>> 1. Create folder foo in local test directory
>> 2. svk co svn+ssh://user@host.com/var/svn/tags/rel-1-0-0/foo .
>> Checkout path foo already exists.
>> 3. NO GO
>
> Please follow up with this on the SVK list, but I have misled you  
> slightly:  SVK can take an existing directory structure and convert  
> it to a working copy, but with "import" instead of "checkout":
>
> 	$ svk import --to-checkout svn+ssn://...blah.../ .
>

Oh; that's definitely not what I need.  Thanks for the clarification,  
though -- I will indeed have to follow up with the SVK folks.

Here's to looking forward to 1.5.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVK & SVN co woes [was: SVN 'entries' Hacking - Safe?]

Posted by John Peacock <jo...@havurah-software.org>.
Chris Horn wrote:
> 1. Create folder foo in local test directory
> 2. svk co svn+ssh://user@host.com/var/svn/tags/rel-1-0-0/foo .
> Checkout path foo already exists.
> 3. NO GO

Please follow up with this on the SVK list, but I have misled you 
slightly:  SVK can take an existing directory structure and convert it 
to a working copy, but with "import" instead of "checkout":

	$ svk import --to-checkout svn+ssn://...blah.../ .

See 'svk help import' for more details...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org