On Fri, Jan 9, 2015 at 2:20 AM, Philipp Schleifer <
philipp.schleifer_at_gmail.com> wrote:
>
> Garvin,
>
> >I can easily imagine use-cases for both of TSVNs current options. I'm
having a harder time with this one.
>
> I always commit "file by file" by selecting the desired file in the
> explorer and select TSVN>commit.
Ok, first of all: don't do that. Being able to group related changes
together into a changeset is one of the primary improvements SVN had over
CVS way back when it was created. When you commit this way, it makes the
log much longer, it makes it much more difficult to make sure you have an
entire change when you update to a past revision, it makes it much easier
to break builds, it makes it much harder to merge entire changes, etc., etc.
> Now I can give a detailled
> description in the log message for this special file.
> How can I commit the file delete? I have to select commit on the
> current folder, de-select every file and then re-select the file
> delete.
Yes, this is exactly how you ought to do this. If you really MUST commit
one file at a time, there is a nice "deselect all" button you can use for
easily selecting only the one or two files you want to commit. You could
even go nuts and use changelists if you like. But you really shouldn't be
committing only one file at a time, as I said.
> And even worse: Sometimes, I forget to commit file deletes,
> because the files has been deleted by TSVN before!
>
If you always bring up the commit dialog from the folder, then you won't
have this problem. Get out of your bad habit, and into a good habit, and
your problem is solved.
> Other Example, file rename, not file delete:
> Try to rename a file, select the renamed file and commit this change
> to SVN. This does not work, TSVN will tell you that the original file
> is not part of this commit (both original and renamed files must be
> commited together)! But I am not able to select the file with the
> original filename as this has been deleted by TSVN too. If both files
> were still there, I could select both files and then commit them
> together.
This is solved in the same way, by using the directory-level commit dialog,
as you should be doing anyway. Renames and deletes are more of a "directory
change" than a "file change" anyway; in fact in other version control
systems (e.g. ClearCase) that is the ONLY way to commit rename/move
operations.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3093938
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-01-09 19:40:31 CET