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

Problem committing project with Xcode

From: zauhar <r.zauhar_at_usip.edu>
Date: Mon, 14 Jan 2008 09:06:39 -0500

Hi,

I recently installed subversion 1.4.6 on one of our servers (OS X
Intel), and I am accessing the repositories from the clients using
httpd (apache 2.2.6). On the client side I installed the same version of
subversion, and also apr and apr-util (v. 1.1.12) and neon 0.25 . I
am using Xcode on the client (OS X G5).

I am observing the following flakey behavior -

1) I make a change to a file, and then look under the SCM menu to
Commit Change. However, "Commit Changes" is not highlighted, only
"Commit Entire Project" is active.

2) Fine. I select "Commit Entire Project". A dialog appears
announcing "Commit Failed. Details to follow:" - but there are no
details. I do not immediately see an error in the apache error_log.

3) However, NOW "Commit Changes" IS highlighted. I select this
option, and there is no error message. Moreover, looking at the code
on the server via a browser, I see that the change has indeed been
committed.

If I do the commit manually, it looks like this:

[cabriolet:~/SVN/bemSolver08/trunk] zauhar% svn commit -m "This is a
test commit - no substantive changes"
svn: Commit failed (details follow):
svn: Directory '/Users/zauhar/SVN/bemSolver08/trunk/build/
bemSolver08.build/bemSolver08.pbxindex/strings.pbxstrings/.svn'
containing working copy admin area is missing

If I do a non-recursive commit:

[cabriolet:~/SVN/bemSolver08/trunk] zauhar% svn commit -m "This is a
test commit - no substantive changes" -N

there is no error!

So, the issue seems to be an attempt to commit something from the
'build' subdirectory. I had already seen warnings in online FAQs
about including the Xcode build directory in version control, and
included the
following in the file ~/.subversion/config :

global-ignores = build *.mode1 *.pbxuser *~.nib .DS_Store *~

(I forget who I copied this from.) Apparently, this should cause svn
to ignore anything in the build directory. Why does this not work? Is
there something else I need to do?

Thanks in advance,

Randy

Randy J. Zauhar, PhD
Assoc. Prof. of Biochemistry
Director, Graduate Program in Bioinformatics
Dept. of Chemistry & Biochemistry
University of the Sciences in Philadelphia
600 S. 43rd Street
Philadelphia, PA 19104

Phone: (215)596-8691
FAX: (215)596-8543
E-mail: r.zauhar_at_usip.edu
Web: http://tonga.usip.edu/zauhar

DAD: "...So by contrasting the Brooklyn bridge with a standard
highway interchange, I will illustrate for the class the differences
between a nonsystems-oriented versus a systems-oriented approach to
design."

CATHERINE (age 10): "Daddy, GOOD teachers want their students to
SUCCEED."
Received on 2008-01-14 16:01:30 CET

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

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