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

[1.7.1] Unexpected: Tagging working copy with externals modify the tag.

From: Laurent Leroy <laurent.leroy_at_a-volute.com>
Date: Wed, 26 Oct 2011 11:24:09 +0200

Hello !

I may have encountered an unexpected behaviour. (I think)

I'm working on a project with externals and I'm trying to tag this project
using the new feature to set externals to an explicit revision.

Everything in the problem I encountered is based on the fact that, in the
repository I use, modifying a tag is forbidden: A hook script check
something like 'the svnlook changed of this transaction should not begin
with U'

> *grep -e "^_*U\W.*/tags/"*
>

The documentation here (
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-branchtag.html#tsvn-dug-branch-1)
says:

*When the branch/tag is created from HEAD or a specific revision in the
> repository, TortoiseSVN first creates the branch/tag, then adjusts the
> properties. This will create additional commits for each property. When
> the branch/tag is created from the working copy, the properties are modified
> first, then the branch/tag is created and then the properties are changed
> back to their original value. *
>

So I'm tagging from my working copy to have a all in one tag but this
doesn't work. (note: The working copy points to head revision for main
project and its external, no modification on it)

I expected a tagged version with externals set to explicit revision. (in a
single Tag-creation command)
I got a tagged version with unmodified external properties and an error
fired by the hook script.

Attachment: Tortoisesvn 'Copy finished!' window with copy command and
*additional
"Changing externals to fixed revision" command*.

Is this an unexpected behaviour ?

A quick fix would be changing the documentation... Huh huh !

Thanks for reading all of this.

-- 
Laurent Leroy
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2864240
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

tortoisesvntag.png
Received on 2011-10-26 11:26:56 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.