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

Re: [TSVN] Commit failing when adding to ignore list

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-01 10:50:47 CET

Jean-Marc van Leerdam wrote:

> Whenever I add a file to the ignore list in the commit dialog and
> subsequently continue with the actual commit i.e. enter a log message
> and press OK, the commit fails with an out of date error: Out of date
> '[repo root]' in transaction '3u'
>
> Is this expected?

Yes.

> If so then I don't really like the fact that you
> have the possibility to add to the ignore list from this dialog, as it
> forces you to fire up the dialog twice - whichever way you choose:
>
> A. first commit the actual changes, then add files to the ignore list
> via explorer and commit again to store the new ignore list.
>
> B. add to ignore from commit dialog, commit, get an error, refresh WC
> and commit again the actual changes to files.
>
> The only way to prevent committing twice is to remember to ignore
> files before starting the commit dialog, but I usually decide to
> ignore files once they show up in the commit dialog as unversioned
> files.

There's another way, and that's the way every developer should go
anyway: before committing anything, first run an update. Then compile
your project again. Only that way you can be sure that changes other
people made don't interfere with your changes before you commit them.

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 Sat Jan 1 10:51:27 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.