You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Scott Anderson <sr...@diem.net> on 2004/03/29 18:57:58 UTC

svnlook error message

Hi! Using svn 1.0.1 on Mac OS X (modified to use CVS as admin directory 
-- don't ask but I don't think that should matter on the server using 
svnlook)

When I use svnlook with the diff command on a repository (this is from 
the email perl script thing but it happens when you just run it also) I 
get the following error.

Can anyone point me in a troubleshooting direction? This repository is 
served via mod_svn + SSL

qa% sudo -u www /sw/bin/svnlook diff 
/usr/local/svn/repositories/showpage -r 3
svn: Error creating dir '/tmp' (path exists)
svn: Can't open file '/tmp/svnlook.1/inny.com/build.log': No such file 
or directory

qa% ls -l /tmp
lrwxr-xr-x  1 root  admin  11 13 Feb 09:26 /tmp -> private/tmp

qa% ls -lLd /tmp
drwxrwxrwt  8 root  wheel  272 29 Mar 12:50 /tmp

Thanks!

-s


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN with xcode (Apple developer tools)

Posted by Chris Parker <su...@playswithfire.com>.
On Tue, Mar 30, 2004 at 07:30:48AM +1000, Pete Yandell wrote:
> A chmod -R a+rX .svn in the nib file directory does the trick. IB sees 
> the nib as read only because it contains read only files. You need to 
> rerun this after a commit/update, but apart from that it's pretty 
> seamless.

I have it on good authority that this is fixed in an upcoming revision
of the developer tools. Unfortunately I have no idea when they're
going to be released.

.chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN with xcode (Apple developer tools)

Posted by Pete Yandell <pe...@yandell.com>.
A chmod -R a+rX .svn in the nib file directory does the trick. IB sees 
the nib as read only because it contains read only files. You need to 
rerun this after a commit/update, but apart from that it's pretty 
seamless.

Pete Yandell
http://pete.yandell.com/

On 30/03/2004, at 6:29 AM, Jeremy Pereira wrote:

>
> On Mar 29, 2004, at 19:57, Scott Anderson wrote:
>
>> Hi! Using svn 1.0.1 on Mac OS X (modified to use CVS as admin 
>> directory -- don't ask but I don't think that should matter on the 
>> server using svnlook)
>>
>
> I actually start a terminal session and move the .svn directory out of 
> the nib while I'm in Interface Builder and then put it back before the 
> commit.
>
> I was going to ask if any other OS X developers had other alternative 
> strategies.
>
> Note to normal people:  the nib file in OS X contains resources like 
> windows and menus.  Only it isn't a file, it's a directory which 
> therefore contains a .svn directory when controlled by Subversion.  
> For some reason, Interface Builder (the tool you use to create menus 
> and windows) thinks the nib is read only if it has a .svn 
> subdirectory.  Subdirectories called "CVS" are OK because Apple 
> Developer tools have CVS integration and therefore know about them.
>
> What I'd *really* like is for the admin directory name to be 
> configurable without recompilation.
>
> --
> Jeremy Pereira
> http://www.jeremyp.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN with xcode (Apple developer tools)

Posted by John Peacock <jp...@rowman.com>.
Scott Anderson wrote:

> Not an option for us -- I can't ask the developers to do that because it 
> affects more than IB. We have the problem with XCode itself, WebObjects 
> Builder, EOModeler, TextEdit (on rtfd bundles).
> 
>> I was going to ask if any other OS X developers had other alternative 
>> strategies.
> 
> 
> Naming the directory CVS is the only way I could come up with until 
> Apple fixes their tools or the "separate" metadata feature/idea is 
> implemented in subversion.

FWIW, svk works right now without a .svn directory (actually the WC looks like 
an export).  It does require a local repository to support the mirror of the 
main repos, but I must say it works like a charm.  You also get smart merges for 
free.

It requires the Perl bindings, which I believe OS X should support out of the 
box.  The svk web server is down at the moment, but the latest release is on CPAN:

	http://search.cpan.org/~clkao/SVK-0.12/

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN with xcode (Apple developer tools)

Posted by Scott Anderson <sr...@diem.net>.
On Mar 29, 2004, at 2:29 PM, Jeremy Pereira wrote:
> I actually start a terminal session and move the .svn directory out of 
> the nib while I'm in Interface Builder and then put it back before the 
> commit.

Not an option for us -- I can't ask the developers to do that because 
it affects more than IB. We have the problem with XCode itself, 
WebObjects Builder, EOModeler, TextEdit (on rtfd bundles).

> I was going to ask if any other OS X developers had other alternative 
> strategies.

Naming the directory CVS is the only way I could come up with until 
Apple fixes their tools or the "separate" metadata feature/idea is 
implemented in subversion. (See issue #707 and vote! =) 
http://subversion.tigris.org/issues/show_bug.cgi?id=707 )

> What I'd *really* like is for the admin directory name to be 
> configurable without recompilation.

I'd really like that too -- right now I can't use any of the binary 
options available but have to rebuild it all myself just to use this 
temporary fix. I know that the developers have elaborated on this list 
many times that it should be hard to change but it is not fun when I'm 
the one that its hard for =)

-s


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

SVN with xcode (Apple developer tools)

Posted by Jeremy Pereira <je...@ntlworld.com>.
On Mar 29, 2004, at 19:57, Scott Anderson wrote:

> Hi! Using svn 1.0.1 on Mac OS X (modified to use CVS as admin 
> directory -- don't ask but I don't think that should matter on the 
> server using svnlook)
>

I actually start a terminal session and move the .svn directory out of 
the nib while I'm in Interface Builder and then put it back before the 
commit.

I was going to ask if any other OS X developers had other alternative 
strategies.

Note to normal people:  the nib file in OS X contains resources like 
windows and menus.  Only it isn't a file, it's a directory which 
therefore contains a .svn directory when controlled by Subversion.  For 
some reason, Interface Builder (the tool you use to create menus and 
windows) thinks the nib is read only if it has a .svn subdirectory.  
Subdirectories called "CVS" are OK because Apple Developer tools have 
CVS integration and therefore know about them.

What I'd *really* like is for the admin directory name to be 
configurable without recompilation.

--
Jeremy Pereira
http://www.jeremyp.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnlook error message

Posted by "Andrew A. Raines" <aa...@pobox.com>.
Scott Anderson <sr...@diem.net> writes:

> qa% sudo -u www /sw/bin/svnlook diff
> /usr/local/svn/repositories/showpage -r 3
> svn: Error creating dir '/tmp' (path exists)
> svn: Can't open file '/tmp/svnlook.1/inny.com/build.log': No such file
> or directory

I've been having this problem as well.  I have my /tmp symlinked
elsewhere just like you do:

> qa% ls -l /tmp
> lrwxr-xr-x  1 root  admin  11 13 Feb 09:26 /tmp -> private/tmp

$ ls -ld /tmp
lrwxrwxrwx    1 root  root   12 Jan 15 14:30 /tmp -> ./export/tmp

It only seems to occur when a file is checked in from a child
directory of the root of the working directory.  For instance, if I
update a script in ~/bin, and then check in my homedir:

  svn: Error creating dir '/tmp' (path exists)
  svn: Can't open file '/tmp/svnlook.1/bin/backup-mail': \
                                       No such file or directory

-- 
    aaraines@pobox.com (Andrew A. Raines)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org