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

Re: svn: File already exist.

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-05-16 12:23:38 CEST

On Wednesday 16 May 2007 00:38, Claude Chevalier wrote:
> # Add relevant binaries to the tag
> svn add bin/EFA0003.elf
> A (bin) bin\EFA0003.elf

Note: this means that bin/EFA0003.elf is _scheduled_ for addition. It is not
yet added to the repository.

> # Generate the tag; Copy the working copy to the proper place in the
> repository svn copy . file:///I:\Repositories\EFA0003\tags\v2\ -m
> "Generating v2 tagged version"

According to 'svn help copy':

  SRC and DST can each be either a working copy (WC) path or URL:
    WC -> URL: immediately commit a copy of WC to URL

Now, I'm slightly puzzled what exactly this means, in particular if changes in
the working copy are supposed to appear in the destination. If that is the
case, changes like adding files should appear there too, of course.

> svn: Commit failed (details follow):
> svn: File already exists: filesystem 'I:/Repositories/EFA0003/db',
> transaction '13-2', path '/tags/v2/bin/EFA0003.elf'

Seems like a bug to me, at least the description what the WC->URL copy does is
ambiguous.

Now, as an immediate help, you could do two things:

1. First commit all pending changes and then use a URL->URL copy.
2. First make a URL->URL copy, then 'svn switch' your WC to the new location
and commit the changes there.

HTH

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 16 12:22:40 2007

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.