[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-30 15:03:53 CEST

On 9/30/05, Simon Large <simon@skirridsystems.co.uk> wrote:

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

We could change that too. E.g. upload the generated pot file to the
nightly-build server.

> 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.

Ok, so the file would be gone. No problem: it will be rebuilt the next
time (and history of a generated file is irrelevant, because you have
the history of the original files).
And if that ever happens, I would change the build process anyway:
find a way to upload the pot file to a server where the translators
can get the file from instead of having it versioned.

> 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?

Yes. It deletes missing files automatically.

Stefan

--
       ___
  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 15:05:00 2005

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