Hi,
(First, apologies for the top-post - blame Outlook WA).
Second, a rename in SVN is implemented as a delete and an add. For example:
svn rename foo.c bar.c
will give the following in the commit dialog:
foo.c (deleted)
bar.c (added)
If the user making the change decides to only commit one side of the change (either the delete or the add), then that is their fault (or maybe it's their conscious decision).
I do not believe that SVN should attempt to do anything clever behind the scenes for you.
Maybe a warning in the TSVN UI *might* be useful.
Regards,
Daniel B.
________________________________
From: jwezel [mailto:jwezel_at_compumaster.de]
Sent: Thu 5/02/2009 11:56 PM
To: users_at_tortoisesvn.tigris.org
Subject: Renaming folders locally - Feature request/Bug report
Hi,
given is a checkout directory c:\svn\
with following structure
c:\svn\trunk
c:\svn\project1
when renaming some folders in the local checkout directory structure,
Tortoise doesn't realize that even if it could do
the new structure after rename is
c:\svn\trunk
c:\svn\project-master
CURRENT (WRONG) BEHAVIOUR:
1. tortoise will tell the svn server to delete folder project1
2. tortoise doesn't realize the new folder project-master since there
are already some .svn subfolders and don't touches it :-(
3. other users do an update with their local checkout folders
3.1. project1 will be deleted
3.2. project-master won't appear (since it hasn't been commited yet) :-
(
CORRECT BEHAVIOUR would be:
1. tortoise sees new folder project1
2. tortoise sees: it's already SVN enabled!
3. tortoise realizes: but it was project1 last time
4. tortoise sends the rename command correctly to the server so that
the server repository reflects the change :-)
5. tortoise updates the folder project-master to reflect the correct,
new path in svn server repository
6. other users update their local checkout folders and all data is
correct and complete (same as if you would to the folder renaming with
the repo-browser) :-)
This mistake is the most often done one by all of our users which are
new to SVN. And indeed, they're right asking for a solution.
Regards
Jochen
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1107551
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1109069
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-02-05 21:42:54 CET