You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Roland Bramm <ro...@butlers-djihad.de> on 2003/03/14 19:50:20 UTC
strange svn propset:ignore behaviour ...
Hi,
i have a directory my project, the dict generator generates during
the build process this files :
EventDict.cxx
EventDict.h
i put this names in a .svnignore file and executed
[rbamm:] svn propset svn:ignore -F .svnignore
property `svn:ignore' set on ''
an produces:
[rbamm:] svn stat
M .
? .svnignore
which is ok.
(after svn add .svnignore and svn ci -m "updated ignore list")
i wanted then to checkin all my changes i did on the .C files with
svn ci -m "minor typo changes"
but then i get an:
Sending trunk
svn: Transaction is out of date
svn: Commit failed (details follow):
svn: out of date: `/OM/trunk' in txn `1p'
(a svn cleanup does not help)
cant i checkin the "ignores" set on . ? or am i doing somthing wrong ...
Thanks
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: strange svn propset:ignore behaviour ...
Posted by Philip Martin <ph...@codematters.co.uk>.
Roland Bramm <ro...@butlers-djihad.de> writes:
> svn ci -m "minor typo changes"
>
> but then i get an:
> Sending trunk
> svn: Transaction is out of date
> svn: Commit failed (details follow):
> svn: out of date: `/OM/trunk' in txn `1p'
'/OM/trunk' is out of date.
> (a svn cleanup does not help)
>
> cant i checkin the "ignores" set on . ? or am i doing somthing wrong ...
/OM/trunk probably corresponds to '.' I would guess. You need to
update directories to HEAD before you can commit property changes on
them.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: strange svn propset:ignore behaviour ...
Posted by Ben Collins-Sussman <su...@collab.net>.
Roland Bramm <ro...@butlers-djihad.de> writes:
> [rbamm:] svn stat
> M .
> ? .svnignore
>
> which is ok.
> (after svn add .svnignore and svn ci -m "updated ignore list")
Why are you adding the .svnignore to version control? You can always
'svn propedit' the svn:ignore property on the directory.
> Sending trunk
> svn: Transaction is out of date
> svn: Commit failed (details follow):
> svn: out of date: `/OM/trunk' in txn `1p'
As the error says, it's an "out of date" problem when committing.
Philip already explained that propchanges can only be committed to
directories that are fully up-to-date. So always 'svn up' before
committing a dir propchange.
There's an explanation of this in the book, at the end of chapter 2.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org