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

Re: identical copies of directories -> extra space?

From: Seth Delackner <seth_at_jtan.com>
Date: 2003-03-14 09:05:46 CET

On Monday, March 10, 2003, at 04:14 PM, Ben Collins-Sussman wrote:

> Seth Delackner <seth@jtan.com> writes:
>
>> The build phase involves a step where a whole set of files just gets
>> copied
>> into the built application's directory 'bundle' (OS X directory with
>> special
>> structure). These copied files only change in the source tree, so it
>> seems a
>> real waste for the repository to not just treat them as the same file
>> in two
>> spots. Is that behavior possible?
>
> 'svn copy URL URL'?
>
> The directory copy only takes up a tiny, constant amount of space in
> the repository. It's like a hard-link.

Maybe I'm dumb, but since both the build tree and the source tree are
in the same repository, subversion is getting angry when I try to
commit the copy:

Adding (bin)
build/Foo.app/Contents/Resources/English.lproj/MainMenu.nib/
keyedobjects.nib
subversion/libsvn_client/commit.c:658: (apr_err=160020)
svn: Item already exists in filesystem
svn: Commit failed (details follow):
subversion/libsvn_fs/tree.c:203: (apr_err=160020)
svn: file already exists: filesystem `/Users/seth/svn/repos/db',
transaction `i', path `/Foo/English.lproj/MainMenu.nib/keyedobjects.nib'
subversion/clients/cmdline/util.c:311: (apr_err=160020)
svn: Your commit message was left in a temporary file:
subversion/clients/cmdline/util.c:311: (apr_err=160020)
svn: '/Users/seth/pb/Foo/svn-commit.tmp'

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 14 14:25:03 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.