[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: John Allen <john.allen_at_dublinux.net>
Date: 2007-05-21 11:51:53 CEST

You are mis-understanding how you should do this.

1. Add the binary to the trunk
    svn add bin/EFA0003.elf
2. Commit the changes
    svn commit -m "..."
3. Copy the working copy to the tag (note this will fail if the target
already exists)
    svn copy . file:///I:\Repositories\EFA0003\tags\
<file:///I:%5CRepositories%5CEFA0003%5Ctags%5Cv2%5C>v2\
<file:///I:%5CRepositories%5CEFA0003%5Ctags%5Cv2%5C> -m "Generating v2
tagged version"

Claude Chevalier wrote:
> Hi folks,
>
> I'm having trouble tagging (copying) stuff. Here's the message I get:
>
> --------------------------------------------------------------------------------------
> # Commit everything before tagging...
> svn commit
> # Add relevant binaries to the tag
> svn add bin/EFA0003.elf
> A (bin) bin\EFA0003.elf
> # Generate the tag; Copy the working copy to the proper place in the
> repository
> svn copy . file:///I:\Repositories\EFA0003\tags\
> <file:///I:%5CRepositories%5CEFA0003%5Ctags%5Cv2%5C>v2\
> <file:///I:%5CRepositories%5CEFA0003%5Ctags%5Cv2%5C> -m "Generating v2
> tagged version"
> svn: Commit failed (details follow):
> svn: File already exists: filesystem 'I:/Repositories/EFA0003/db',
> transaction '13-2', path '/tags/v2/bin/EFA0003.elf'
> --------------------------------------------------------------------------------------
>
> The transaction folders are indeed in the appropriate location in the
> repository. I can delete them easily and start the tagging process all
> over again. It will simply fail again with the same message. svn clean
> is also useless.
>
> Any idea about what can cause such a message?
>
> Any help welcome!
>
> Claude

-- 
John Allen                          mailto:john.allen@codemountain.net
CodeMountain                        http://www.codemountain.net
Ubuntu 7.04, kernel 2.6.20-15-generic
up 6 days, 19:48, 21 users,  load average: 0.49, 0.74, 0.86
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 21 13:34:15 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.