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

Re: Bug during commit of not added files

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-09-12 10:36:04 CEST

On 12/09/2007, Tobias Schäfer <tobiasschaefer@gmx.de> wrote:
> On Tuesday 11 September 2007 22:36:14 Simon Large wrote:
> > If we are adding the directories, why can't we add them recursively?
>
> This mighty help in some cases, but I don't like the idea of changing the
> behaviour and having bug reports which say "TortoiseSVN recursively added
> my whole hard disk but I only wanted to do add the top level directory".
>
> That's why I prefer a warning when committing an unversioned directory. This
> warning will not appear if the directory is already added: Maybe the user
> is doing an in-place import. He either explicitly did not add the child
> items when adding the directory or the child items were created after the
> directory was added. But in this case those child items would be shown in
> the commit dialog and checked by default - so no problem. Unless of course
> the commit dialog had already been opened after the adding of the
> directory.
> Now it's getting complicated and the case is rather unlikely.
>
> Since "svn obliterate" is not yet implemented in subversion it is rather
> time consuming undoing such a commit with svnadmin tools. Having several
> commits instead of one commit seems a better choice than having to undo
> parts of a commit because too much was committed.

OK, that sounds like a good argument. The warning is the best solution.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Sep 12 10:32:43 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.