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

Tag and set explicit revision for externals fails pre-commit hook

From: Tina Harron <tina.harron_at_irdinc.com>
Date: Tue, 8 Oct 2013 14:24:31 -0700 (PDT)

Here is my scenario:
I have a folder that contains code and some externals. The externals are referenced using a relative path.

The server has a single pre-commit hook setup. This pre-commit hook looks through the commit message and makes sure it contains certain text.

I want to make a tag of this folder, and I want to explicitly set the revision of the externals in the directory when I do so.

I right-click on my Tortoise 1.8.2 client, select "Branch/tag...", type in a path to commit to, log message that contains my specific text, and check all externals off in the area that reads "set explicit revision for these externals".

I click OK. The command runs and gives me both a new revision and a pre-commit hook error.

Copy C:\test to <svn repo>/TST/tags/tag-3, Revision HEAD
At revision: 51056
Changing externals to fixed revision
Commit blocked by pre-commit hook (exit code 1) with output:
Your log message doesn't contain the right text. Fix it.
Please note:
Your working copy remains on the previous path. If you want your next changes
to be committed to the copy or branch you have just created,
then you need to switch your working copy over to the new URL.
Use the Switch command to do that.

When I go into the repository, I see that the tag was indeed created, but the externals have not been set to their fixed revision as they should be.

I expected to see either both changes succeed or fail.

Can someone explain why this is happening? Thanks.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3065965

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-10-09 15:54:34 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.