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

Re: problem with source path validation

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-06-07 22:26:04 CEST

Liya Jan wrote:
> Hi,
>
> Our programmer checked out a project tree from trunk, changed some files
> and then , when trying to commit the changes, got the following error
> (warning):
> "Your working copy appears to be on a tag path!
> You should first switch to branch or the main trunk before committing.
> Do you want to commit anyway?"
>
> All files/directories were from trunk, we've checked entries files under
> .svn.
> After pressing 'Yes', the files were committed correctly, and the error
> never returned.
> Later on we found that we have a folder called "tags" deep in our source
> tree.
> It looks like TortoiseSVN source path validation should be improved -
> ignore a case like this.

That check only shows a warning. Since Subversion doesn't know a fixed
tag, you're actually free to use any name instead of /tags/. We only
check for a path which has '/tags/' in it and then assume that this is a
tag. And since you should not commit to a tag, we show the warning.
This is only for user convenience. It can't be really 100% accurate.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jun 7 22:26:20 2006

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

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