Hi,
On 17 October 2011 21:18, Gerald Britton <gerald.britton_at_gmail.com> wrote:
> I must be doing something wrong here! Here's what I did>
>
> 1. Create a new file-based repository
> file://somewhere/Repos
>
> 2. Create a project in it:
>
> file://somewhere/Repos/Project
>
> 3. Checkout the project to my drive:
>
> C:\My Documents\Project
>
> 4. Add a directory and some files so I have:
>
> C:\My Documents\Project\Dir\file1....etc.
>
> 5. Commit this -- no problems
>
> 6. Using Tortoise, do branch/tag to create:
>
> file://somewhere/Repos/Project/newdir
>
> in the repository
>
>
? Confused: did you really create a copy of folder X + its contents into
X/newfolder? Usually Tags/Branches are created outside the source tree. When
it is inside the source tree, a normal 'update' on your working copy brings
the original files AND the newly created copy.
> 7. checkout the new branch to give me:
>
> C:\My Documents\Project\newdir\file1....etc.
>
> Here you created a 'nested working copy', although I am not sure if that is
still possible/allowed/advisable with the new working copy format. The 'My
Documents\Project' folder points to /Repos/Project and 'My
Documents\Project\newdir' points to /Repos/Project/newdir, as an independent
working copy, not as part of the top level working copy.
> so, now I have two directories in the Project subdirectory.
>
> 8. do some edits in the new directory then commit -- OK
>
> 9. Looking at the Project directory in the folder browser I see a red !.
> however within that directory nothing is outstanding.
>
> 10. try to do an update on the Project directory, get the messages:
>
> Error: Failed to add directory 'C:\Documents and Settings\My
> Documents\Project\newdir': a versioned directory of the same name already
> exists
>
> I'm obviously doing something weird. What I want to do is branch "dir"
> created in step 4. to "newdir" then do my new work there. The error message
> mystifies me. What is the correct way to do what I'm trying to do?
>
> ------------------------------------------------------
>
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2857857
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_tortoisesvn.tigris.org].
>
--
Regards,
Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2858238
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-10-18 07:33:20 CEST