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

Creating tag with copy failing

From: Carl Franks <C.A.Franks_at_dundee.ac.uk>
Date: 2004-09-03 12:57:07 CEST

I'm getting an error when trying to create a tag from a working copy
containg a mix of files from my trunk and a branch.

The error message is that a file (from the branch) is out of date.

I created the working copy by checking out the trunk, then checking
out some files from the branch and switching some other files to those

in the branch.

I have already created in the repository the sub-folders that the tag
would be created in.

I'm using Subversion 1.0.6-r10360 on WinXP.

This may be irrelevent, but if I try to create the tag using
tortoiseSVN, there is no error, but the files checked out from the
branch are not copied and the files that were switched are actually
copied from the trunk.

Bolow is a copy of the exact commands I typed in, including error
messages and the output of running 'svn status'.

Cheers,
Carl

-----

C:\Documents and Settings\Carl Franks\Desktop>svn checkout
file:///c:/repos/FIG/trunk tag
A tag\www
A tag\www\fig
A tag\www\fig\default.css
A tag\TODO
A tag\lib
A tag\lib\FIG.pm
A tag\lib\FIG
A tag\lib\FIG\DB.pm
A tag\lib\FIG\Image
A tag\lib\FIG\Image\GD.pm
A tag\lib\FIG\Image\Magick.pm
A tag\lib\FIG\Image\Exif.pm
A tag\lib\FIG\Image\SWF.pm
A tag\lib\FIG\Image\GD
A tag\lib\FIG\Image\GD\PNG.pm
A tag\lib\FIG\Image\GD\JPEG.pm
A tag\lib\FIG\Image\GD\JPG.pm
A tag\lib\FIG\Image\PHOTO_PROGRAM.pm
A tag\lib\FIG\Image\Magick
A tag\lib\FIG\Image\Magick\PNG.pm
A tag\lib\FIG\Image\Magick\GIF.pm
A tag\lib\FIG\Image\Magick\JPEG.pm
A tag\lib\FIG\Image\Magick\JPG.pm
A tag\lib\FIG\DB
A tag\lib\FIG\DB\MySQL.pm
A tag\lib\FIG\Data
A tag\lib\FIG\Data\MySQL.pm
A tag\lib\FIG\User.pm
A tag\lib\FIG\Image.pm
A tag\cgi-bin
A tag\cgi-bin\fig
A tag\cgi-bin\fig\templates
A tag\cgi-bin\fig\templates\default
A tag\cgi-bin\fig\templates\default\incl_select_option.html
A tag\cgi-bin\fig\templates\default\incl_system_menu.html
A tag\cgi-bin\fig\templates\default\user.html
A tag\cgi-bin\fig\templates\default\new_cat.html
A tag\cgi-bin\fig\templates\default\edit_user_groups.html
A tag\cgi-bin\fig\templates\default\image.html
A tag\cgi-bin\fig\templates\default\register.html
A tag\cgi-bin\fig\templates\default\message.html
A tag\cgi-bin\fig\templates\default\edit_groups.html
A tag\cgi-bin\fig\templates\default\homepage.html
A tag\cgi-bin\fig\templates\default\cat_permit.html
A tag\cgi-bin\fig\templates\default\incl_yes_no_option.html
A tag\cgi-bin\fig\templates\default\error.html
A tag\cgi-bin\fig\templates\default\change_details.html
A tag\cgi-bin\fig\templates\default\new_image_metadata.html
A tag\cgi-bin\fig\templates\default\incl_top_menu.html
A tag\cgi-bin\fig\templates\default\approve_users.html
A tag\cgi-bin\fig\templates\default\confirm.html
A tag\cgi-bin\fig\templates\default\new_image_upload.html
A tag\cgi-bin\fig\templates\default\incl_cat_menu.html
A tag\cgi-bin\fig\templates\default\incl_trail_menu.html
A tag\cgi-bin\fig\templates\default\system_settings.html
A tag\cgi-bin\fig\templates\default\edit_users.html
A tag\cgi-bin\fig\templates\default\cat.html
A tag\cgi-bin\fig\templates\default\incl_thumbs.html
A tag\cgi-bin\fig\templates\default\login.html
A tag\cgi-bin\fig\templates\default\incl_cat_prefs.html
A tag\cgi-bin\fig.cgi
A tag\install_mysql.sql
A tag\LOG_CODES
 U tag
Checked out revision 171.

C:\Documents and Settings\Carl Franks\Desktop>cd tag/cgi-bin

C:\Documents and Settings\Carl Franks\Desktop\tag\cgi-bin>svn switch
file:///c:/repos/FIG/branches/www.fireartist.com/cgi-bin/fig.cgi
fig.cgi
U fig.cgi
Updated to revision 171.

C:\Documents and Settings\Carl Franks\Desktop\tag\cgi-bin>cd
fig/templates

C:\Documents and Settings\Carl
Franks\Desktop\tag\cgi-bin\fig\templates>svn checkout
file:///c:/repos/FIG/branches/www.fireartist.com/cgi-bin/fig/templates/center
A center\cat.html
Checked out revision 171.

C:\Documents and Settings\Carl
Franks\Desktop\tag\cgi-bin\fig\templates>svn checkout
file:///c:/repos/FIG/branches/www.fireartist.com/cgi-bin/fig/templates/fruit
A fruit\cat.html
Checked out revision 171.

C:\Documents and Settings\Carl
Franks\Desktop\tag\cgi-bin\fig\templates>cd default

C:\Documents and Settings\Carl
Franks\Desktop\tag\cgi-bin\fig\templates\default>svn switch
file:///c:/repos/FIG/branches/www.fireartist.com/cgi-bin/fig/templates/default/error.html
error.html
U error.html
Updated to revision 171.

C:\Documents and Settings\Carl
Franks\Desktop\tag\cgi-bin\fig\templates\default>svn switch
file:///c:/repos/FIG/branches/www.fireartist.com/cgi-bin/fig/templates/default/homepage.html
homepage.html
U homepage.html
Updated to revision 171.

C:\Documents and Settings\Carl
Franks\Desktop\tag\cgi-bin\fig\templates\default>
cd ../../../../www

C:\Documents and Settings\Carl Franks\Desktop\tag\www>svn checkout
file:///c:/repos/FIG/branches/www.fireartist.com/www/pics
A pics\bg.jpg
A pics\header.jpg
Checked out revision 171.

C:\Documents and Settings\Carl Franks\Desktop\tag\www>cd fig

C:\Documents and Settings\Carl Franks\Desktop\tag\www\fig>svn switch
file:///c:/repos/FIG/branches/www.fireartist.com/www/fig/default.css
default.css
U default.css
Updated to revision 171.

C:\Documents and Settings\Carl Franks\Desktop\tag\www\fig>cd ../../..

C:\Documents and Settings\Carl Franks\Desktop>svn copy -m "creating tag
for www.fireartist.com release-1.01" tag
file:///c:/repos/FIG/tags/www.fireartist.com/release-1.01
svn: Commit failed (details follow):
svn: Out of date:
'/FIG/tags/www.fireartist.com/release-1.01/cgi-bin/fig/templates/default/error.html'
in transaction '5g'

C:\Documents and Settings\Carl Franks\Desktop>cd tag

C:\Documents and Settings\Carl Franks\Desktop\tag>svn status
? www\pics
    S www\fig\default.css
? cgi-bin\fig\templates\center
? cgi-bin\fig\templates\fruit
    S cgi-bin\fig\templates\default\homepage.html
    S cgi-bin\fig\templates\default\error.html
    S cgi-bin\fig.cgi

C:\Documents and Settings\Carl Franks\Desktop\tag>svn update
Updated to revision 171.

C:\Documents and Settings\Carl Franks\Desktop\tag>cd ..

C:\Documents and Settings\Carl Franks\Desktop>svn copy -m "creating tag
for www.fireartist.com release-1.01" tag
file:///c:/repos/FIG/tags/www.fireartist.com/release-1.01
svn: Commit failed (details follow):
svn: Out of date:
'/FIG/tags/www.fireartist.com/release-1.01/cgi-bin/fig/templates/default/error.html'
in transaction '5j'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 3 12:58:04 2004

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