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

Re: [TSVN] commit of missing files automatically selects removal

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-10-03 13:41:37 CEST

Stefan Küng wrote:
> On 10/3/05, Matthias Wächter <matthias.waechter@tttech.com> wrote:
>>In my argumental position, removed and added files are same by nature
>>and should be treated the same (as in the CLI): A file that is part of
>
> As mentioned above: the CLI treats them differently too.

This is true, but I am not convinced the CLI is correct.

> And they're definitely not the same by nature.
>
> Let me explain:
> A build process usually creates a *lot* of files. You definitely don't
> want all those files added to version control automatically.

But we normally advise using svn:ignore for generated files which should
not be versioned.

> A build process usually does *not* delete files. At the very least,
> not important files. And you might not believe this, but if it does,
> then I'd say that build process is broken. And it's not TSVN's job to
> work around a broken build process.

I think we should not make assumptions about how TSVN is used. What is
best for us may not always be best for everyone. OK, it usually is, but
we should not force people down that path.

My personal opinion is that missing files should not be automatically
selected for deletion. Deleting files in explorer is bad practice: if
you commit immediately they are quietly deleted. If you update they are
quietly restored. That's just too unreliable for me, and I don't want to
promote bad practice by making the delete automatic.

But here is a suggestion:
Move missing files to the top of the commit list and mark them in bright
red. That way, whether they are checked by default or not, users can see
straight away that there are missing files there and they should either
be deleted or restored, but not ignored.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Oct 3 13:43:37 2005

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.