[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-09-30 14:42:22 CEST

Stefan Küng wrote:
>>>3. If a file is missing, you don't need it anymore [...]
>>
>>You clearly presume a lot about specific working processes that IMHO
>>doesn't apply to _all_ processes.
>
> Can you give me *one* (but real, existing) example where a program
> will delete files which are still required? If a file is really
> required, then your build/tests will fail if the file is missing. But
> if it's not required anymore, it can be removed.

>>>The real question you should ask yourself: why do you have a
>>>*generated* file under version control???

Ahem. We do exactly that in TSVN - the pot files are versioned so that
translators don't have to generate them.

So an example might be:

Break the build somehow, so that the pot file gets deleted.
Fix the problem but forget to regenerate the pot.
Commit.

In general I agree that generated files should not be included in the
repository, but he does have a point. If you rename a file in explorer
instead of SVN, the old name is deleted automatically and the new name
is not added automatically.

For consistency I am inclined to think that missing files should not be
checked by default. Does the CLI automatically delete missing files as well?

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 Fri Sep 30 14:42:32 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.