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

questions about properties and svn:ignore

From: Faheem Mitha <faheem_at_email.unc.edu>
Date: 2003-04-22 06:52:35 CEST

Dear People,

Some fairly simple-minded questions from a beginner. It probably
belongs to a subversion-users mailing list, but you don't seem to have
such a thing. I'm using version .20 of subversion on Debian Sarge,
backported from the version in unstable.

I made some changes to a checked out repository.

faheem /tmp/rc/trunk>svn status
M .RData
M .Rhistory
M Makefile
M rc.R
M rc.cc
M rc.hh

Then I changed the property svn:ignore

faheem /tmp/rc/trunk>svn propedit svn:ignore .
Set new value for property `svn:ignore' on `'
faheem /tmp/rc/trunk>svn propget svn:ignore .

svn status -u shows

faheem /tmp/rc/trunk>svn status -u
 M * 5 5 faheem .
M 5 5 faheem .RData
M 5 5 faheem .Rhistory
M 5 5 faheem Makefile
M 5 5 faheem rc.R
M 5 5 faheem rc.cc
M 5 5 faheem rc.hh

Now I can't do a commit (see below). I'm also puzzled about *. This
apparently means out of date, which means the repository has the
change but not the working copy. But I thought that the svn:ignore was
only changed in the working copy.

Incidentally, the svn status listing is not the behaviour the
Subversion book describes. According to it, the files .RData and
.Rhistory should now be missing from the display.

faheem /tmp/rc/trunk>svn commit
Sending trunk
svn: Transaction is out of date
svn: Commit failed (details follow):
svn: out of date: `/rc/trunk' in txn `h'
svn: Your commit message was left in a temporary file:
svn: '/tmp/rc/svn-commit.tmp'

So I removed the svn:ignore and could then commit.

faheem /tmp/rc/trunk>svn propdel svn:ignore .
property `svn:ignore' deleted from ''.
faheem /tmp/rc/trunk>svn propget svn:ignore .
faheem /tmp/rc/trunk>svn commit
Sending trunk
Sending trunk/.RData
Sending trunk/.Rhistory
Sending trunk/Makefile
Sending trunk/rc.R
Sending trunk/rc.cc
Sending trunk/rc.hh
Transmitting file data ......
Committed revision 7.

I then added the svn:ignore setting back again and committed again.

faheem /tmp/rc/trunk>svn propedit svn:ignore .
Set new value for property `svn:ignore' on `'
faheem /tmp/rc/trunk>svn commit
Sending trunk

Committed revision 8.

What I don't understand is

1) Why I could not commit in the first place, since the svn:ignore
   change and my other file changes were both to my working copy (as I
   understand it)?

2) Why does svn commit list my `trunk' directory as being out of date,
   since it is only a local change?

2) As I already said, the files that I added to svn:ignore were still
   visible to svn status.

When I modify a file in my working copy, I can still see the changes,

faheem /tmp/rc/trunk>svn status
M .Rhistory

though I have

faheem /tmp/rc/trunk>svn propget svn:ignore

I must be doing something wrong, clearly.

Please feel free to reply directly to me. I'm not subscribed to the
mailing list, but will in any case check back with the archives later.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 22 06:54:16 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.