Concerning the topic, you simply can't check out single files - is that your
mistake perhaps?
On Thursday 30 June 2011, you wrote:
> My repository has the following structure:
> C:\SVN_Repositories\ProjectA
> \tags
> \trunk
> branches
>
> I tagged a single [file] inside ProjectA\trunk as "release-v4". Now
> Tortorise allowed me to commit this tag successfully.
The "tag" is just a convention, under the hood it is just a copy for
Subversion.
> After that when I tried to checking the tag labeled "release-v4",
> Tortoise won't allow me to and gives me message like "SVN url:
> '\tags\release-v4' refers to a file not a directory"
Well, see my initial suspicion. For explanation, SVN need a place to store its
own metadata, and that is in the .svn subdir of the working copy. Since files
can't have any subdirs, SVN can't work on single files.
Note that if you only want to retrieve the content of that tag, you don't need
to check out (which create a working copy) but can also export. There, no
metadata needs to be stored and thus it also works on single files.
> So my question(s):
> Is tagging a single file allowed?
Allowed, yes. Useful, maybe. Meaningful, probably not.
> If no, then why did tortoise allowed me to tag a file.
It would be nice if it checked first and displayed a warning. Up to now,
nobody has been trying to tag single files so it never mattered.
> If yes, then how can I checkout that particular tag.
Just like how you check out any single file: You simply check out the parent
directory.
Cheers!
Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2781864
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-06-30 09:18:45 CEST