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

Re: Bug or Feature? Commit Selection ignored

From: <Stefan.Fuhrmann_at_etas.de>
Date: 2007-05-14 11:26:38 CEST

Slim and Steve <slimandsteve@googlemail.com> wrote:

> 7) *all* modified/added/deleted files will be committed, no matter if
> they were selected or not. Equally files modified/added/deleted
> since originally calling the commit dialog.

The following is *my* understanding of what TSVN does
internally and may be way off. But anyway:

TSVN has an internal "all selected" state. That is, if
you selected all items under version control (non-versioned
will be ignored) in the list, TSVN will not commit every
single change but just "all changes in the path(s)" you
called the commit dialog for.

So, if you modify / add / delete files *after* opening the
commit dialog, those will become part of the commit as well.

As far as I understand it, there are subtle problems with
file / folder renaming / deletion that the underlying SVN
libraries handle in "unexpected" ways. Therefore, TSVN
introduced the behavior I described.

In case that this actually explains what is happening to
you, there are two possible workarounds that should fix
it for you right now:

* Don't make ("other") changes while a commit dialog is open.
  Either commit or close the dialog before continuing work
  (the log message will be kept under "recent messages").
* Press F5 before committing and examine the change list.

Maybe there will be better solutions in the future. But
for now, I would like to check my description against
your observations just to make sure there is nothing
else going on here.

Regards,
Stefan^2.
Received on Mon May 14 11:26:54 2007

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