You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jago Pearce <ja...@gmail.com> on 2008/10/26 17:17:31 UTC

\'Object of the same name already exists\'; so autoskip the object?

How do I skip files that I already have locally?

->

j@IDPP-0644:~/compile$ svn checkout svn://svn.icculus.org/alienarena/trunk
svn: Failed to add file \'trunk/data1/default.cfg\': object of the
same name already exists
j@IDPP-0644:~/compile$ cd trunk/
j@IDPP-0644:~/compile/trunk$ svn up
svn: Failed to add file \'data1/default.cfg\': object of the same name
already exists

All I need to do is skip files that are already there. I would have
expected this to be the default action.
I certainly don\'t want to delete it all and start again. This is why
I\'m using SVN; to download only what I need over 3G.

I\'ve looked on the FAQ list, and surprised it\'s not there:
http://subversion.tigris.org/faq.html

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

Re: \'Object of the same name already exists\'; so autoskip the object?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 26, 2008, at 19:31, Jago Pearce wrote:

> Thank you for the help.
> It seems I can't do what I want to do. But you have at least saved me
> a lot of time trying to do it. I guess since I can't code I'll just
> have to wait.

You can check out on top of an existing directory with some existing  
files, using the --force option, but it won't save you any bandwidth  
versus checking out into an empty directory.


> Unless, what it means here is actually referring to changes in each
> file rather than different files:
>
> "With the code that is currently in trunk, in this scenario, the svn
> checkout command will still need to pull down the same number of bytes
> from the server as a "normal" checkout. It is possible that it could
> be enhanced in the future to more selectively pull down just the
> differences, something like an rsync. A change of that nature has been
> deferred for some future release or whenever someone comes along with
> enough motivation to tackle it."
>
> j@IDPP-0644:~/compile/trunk$ svn --version --quiet
> 1.4.6
> j@IDPP-0644:~/compile$ svn checkout --force
> svn://svn.icculus.org/alienarena/trunk
> Subcommand 'checkout' doesn't accept option '--force'
>
> As I say though, thanks for helping out here :-)

--force is available for checkout and update as of Subversion 1.5.0.


> I'd like to add this info to the FAQ.

You can write a patch for the FAQ and submit it here and someone can  
commit it if it's agreed it's a good change.


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

Re: \'Object of the same name already exists\'; so autoskip the object?

Posted by Jago Pearce <ja...@gmail.com>.
Thank you for the help.
It seems I can't do what I want to do. But you have at least saved me
a lot of time trying to do it. I guess since I can't code I'll just
have to wait.
Unless, what it means here is actually referring to changes in each
file rather than different files:

"With the code that is currently in trunk, in this scenario, the svn
checkout command will still need to pull down the same number of bytes
from the server as a "normal" checkout. It is possible that it could
be enhanced in the future to more selectively pull down just the
differences, something like an rsync. A change of that nature has been
deferred for some future release or whenever someone comes along with
enough motivation to tackle it."

j@IDPP-0644:~/compile/trunk$ svn --version --quiet
1.4.6
j@IDPP-0644:~/compile$ svn checkout --force
svn://svn.icculus.org/alienarena/trunk
Subcommand 'checkout' doesn't accept option '--force'

As I say though, thanks for helping out here :-)

I'd like to add this info to the FAQ.

On Sun, Oct 26, 2008 at 9:10 PM, Ryan Schmidt
<su...@ryandesign.com> wrote:
>
> On Oct 26, 2008, at 12:17, Jago Pearce wrote:
>
>> How do I skip files that I already have locally?
>
> svn checkout --force <url>
>
> See:
>
> http://markphip.blogspot.com/2007/01/subversion-15-tolerate-obstructions.html
>
> It sounds like this will still checkout all data from the repository,
> however, since it's needed in the text-base directory for the pristine copy.
> So you won't be saving time by using this option.
>
>> ->
>>
>> j@IDPP-0644:~/compile$ svn checkout svn://svn.icculus.org/alienarena/trunk
>> svn: Failed to add file \'trunk/data1/default.cfg\': object of the
>> same name already exists
>> j@IDPP-0644:~/compile$ cd trunk/
>> j@IDPP-0644:~/compile/trunk$ svn up
>> svn: Failed to add file \'data1/default.cfg\': object of the same name
>> already exists
>>
>> All I need to do is skip files that are already there. I would have
>> expected this to be the default action.
>> I certainly don\'t want to delete it all and start again. This is why
>> I\'m using SVN; to download only what I need over 3G.
>>
>> I\'ve looked on the FAQ list, and surprised it\'s not there:
>> http://subversion.tigris.org/faq.html
>
>
>



-- 
Sites supported: http://moneybutnofixedabode.blogspot.com/
http://justfortheloveofit.org/

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

Re: \'Object of the same name already exists\'; so autoskip the object?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 26, 2008, at 12:17, Jago Pearce wrote:

> How do I skip files that I already have locally?

svn checkout --force <url>

See:

http://markphip.blogspot.com/2007/01/subversion-15-tolerate- 
obstructions.html

It sounds like this will still checkout all data from the repository,  
however, since it's needed in the text-base directory for the  
pristine copy. So you won't be saving time by using this option.

> ->
>
> j@IDPP-0644:~/compile$ svn checkout svn://svn.icculus.org/ 
> alienarena/trunk
> svn: Failed to add file \'trunk/data1/default.cfg\': object of the
> same name already exists
> j@IDPP-0644:~/compile$ cd trunk/
> j@IDPP-0644:~/compile/trunk$ svn up
> svn: Failed to add file \'data1/default.cfg\': object of the same name
> already exists
>
> All I need to do is skip files that are already there. I would have
> expected this to be the default action.
> I certainly don\'t want to delete it all and start again. This is why
> I\'m using SVN; to download only what I need over 3G.
>
> I\'ve looked on the FAQ list, and surprised it\'s not there:
> http://subversion.tigris.org/faq.html



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