[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 14:04:30 CET

Jean-Marc van Leerdam wrote:

> You are right, with multiple developers this is true. The thing is,
> currently I'm using TSVN for my personal development projects, so I am
> the only developer working on several Working Copies (one for each
> project, all in one repository).
> I *know* a WC is up to date, even without the update. Anyway, I'll
> start using update before commits to prevent the failing commits after
> adding files to the ignore list.

Ok, so you know that it's up to date. But Subversion doesn't ;)

> BTW does this mean that the commit will fail whenever I change any
> folder property for the working copy root and forget to update before
> commit, or is it restricted to the ignore list only?

When you do a commit, the revision numbers only of those files/folders
you commit get changed in your working copy. That's for performance
reasons, because otherwise the whole working copy would have to be
scanned and changed to reflect the new revision number (that's also the
reason why the keyword $REV$ doesn't work as most people expect and the
reason for the SubWCRev utility we provide).
So yes, everytime you change a folder by modifying/adding a property to
it (which is what 'add to ignore list' does by setting the svn:ignore
property) you have to update first so that the revision stored in the
working copy for that folder get's updated.


   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 14:05:28 2005

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