False warning about beeing on a tag on commit

5,780 views
Skip to first unread message

Sebastian Krysmanski

unread,
Apr 8, 2009, 10:33:15 AM4/8/09
to us...@tortoisesvn.tigris.org
Every time a do a commit for our project I see the following warning:

"Your working copy appears to be on a tag path! You should first switch to a branch or the main trunk before committing."

However, I'm not on a tag path. The path is simply "/trunk/development". How comes that TortoiseSVN thinks I'm on a tag path?

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Simon Large

unread,
Apr 8, 2009, 10:45:06 AM4/8/09
to us...@tortoisesvn.tigris.org
2009/4/8 Sebastian Krysmanski <info...@lordb.de>:

> Every time a do a commit for our project I see the following warning:
>
> "Your working copy appears to be on a tag path! You should first switch to a branch or the main trunk before committing."
>
> However, I'm not on a tag path. The path is simply "/trunk/development". How comes that TortoiseSVN thinks I'm on a tag path?

What is the working copy path?

Simon

--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net

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

Stefan Küng

unread,
Apr 8, 2009, 10:54:26 AM4/8/09
to us...@tortoisesvn.tigris.org
Sebastian Krysmanski wrote:
> Every time a do a commit for our project I see the following warning:
>
> "Your working copy appears to be on a tag path! You should first switch to a branch or the main trunk before committing."
>
> However, I'm not on a tag path. The path is simply "/trunk/development". How comes that TortoiseSVN thinks I'm on a tag path?

This warning is only shown if the target url contains "/tags/".

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net

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

signature.asc

Mark Irving

unread,
Apr 8, 2009, 11:00:20 AM4/8/09
to us...@tortoisesvn.tigris.org
On Wednesday 08 April 2009, Sebastian Krysmanski wrote:

> Every time a do a commit for our project I see the following warning:
>
> "Your working copy appears to be on a tag path! You should
> first switch to a branch or the main trunk before committing."
>
> However, I'm not on a tag path. The path is simply
> "/trunk/development". How comes that TortoiseSVN thinks I'm on
> a tag path?

TortoiseSVN makes a case-insensitive test for the substring
"/tags/" anywhere in the URL you are committing. It can get
confused if, for example, the host name of the repository
included this text. I get your message when I use a test
repository accessed as file:///C:/.../tags/temp

I'm not sure whether including the URL of the repository, as well
as the path within it, in the check is correct behaviour or a
mistake.

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

Reply all
Reply to author
Forward
0 new messages