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

Re: How do I force SVN to use /var/tmp NOT /tmp?

From: Steven Peterson <envision_at_stevengpeterson.com>
Date: Tue, 17 Feb 2009 10:58:47 -0500

@ Erik:
Thanks! It seems to have worked..

@ users_at_subversion.tigirs.org:
However during the final verification process it appears it hit an
invalid "diff -x" option. I'm running on OpenSolaris SXCE-b.103.

1) How can I verify the import and TAG are correct?

2) Can we get this properly filed as a compatibility-bug between
svn_load_dirs.pl and OpenSolaris?

Running /usr/bin/svn update --non-interactive
Running /usr/bin/svn cp --non-interactive -m Tag gg/tgea-core-18/trunk
as gg/tgea-core-18/tags/tgea-1.8.1.
Checking out
into /tmp/svn_load_dirs_9vyIajPfp4/my_tag_wc_named_tags/tgea-1.8.1
Running /usr/bin/svn checkout --non-interactive
Running diff -u -x .svn -r TGEA_1_8_1/
./svn_load_dirs.pl: diff -u -x .svn -r TGEA_1_8_1/
/tmp/svn_load_dirs_9vyIajPfp4/my_tag_wc_named_tags/tgea-1.8.1 failed
with this output:
diff: illegal option -- x
usage: diff [-bitw] [-c | -e | -f | -h | -n | -u] file1 file2
        diff [-bitw] [-C number | -U number] file1 file2
        diff [-bitw] [-D string] file1 file2
        diff [-bitw] [-c | -e | -f | -h | -n | -u] [-l] [-r] [-s] [-S
name] directory1 directory2
Press return to quit and clean up svn working directory:
Cleaning up /tmp/svn_load_dirs_9vyIajPfp4
Athena: 521$

Erik Huelsmann wrote:
> export TMP=/var/tmp
> <run your import>
> HTH,
> Erik.
> On Mon, Feb 16, 2009 at 5:45 PM, <accounts_at_stevengpeterson.net> wrote:
>> How can I tell SVN to use "/var/tmp" instead of "/tmp" for temporary files?
>> I'm trying to import a vendor-drop on a 1.5GB game engine SDK, using svn_load_dirs.pl. "/tmp" is a tmpfs and not big enough for what this project merge requires.
>> Thankyou!
>> -----
>> Athena: 663$ ./svn_load_dirs.pl -t tags/tgea-1.8.1 svn+ssh://userFoo@domain.us/home/userFoo/svn/tge14/gg/tgea-core-18/ trunk TGEA_1_8_1/
>> ...............svn: Commit succeeded, but other errors follow:
>> svn: Error bumping revisions post-commit (details follow):
>> svn: Error writing to '/tmp/svn_load_dirs_dlyNRpJYkg/my_import_wc/documentation/content/documentation/Engine Reference'
>> svn: Can't write to file '/tmp/svn_load_dirs_dlyNRpJYkg/my_import_wc/documentation/content/documentation/Engine Reference/.svn/tmp/entries': No space left on device
>> Press return to quit and clean up svn working directory:
>> Cleaning up /tmp/svn_load_dirs_dlyNRpJYkg
>> Can't remove directory /tmp/svn_load_dirs_dlyNRpJYkg/my_import_wc: Invalid argument at ./svn_load_dirs.pl line 2042
>> Can't remove directory /tmp/svn_load_dirs_dlyNRpJYkg: File exists at ./svn_load_dirs.pl line 2042
>> Athena: 664$
>> Athena: 664$
>> ---------
>> Me: why does "/tmp" only have 2.4 GB free if "/" has 107GB free? and how do i fixed it.
>> Me: It just FUBAR a 1.5 GB SVN vendor-drop merge and import on the *last* line ...
>> #OPENSOLARIS: tmpfs is a memory based file system
>> #OPENSOLARIS: memory+swap. but you can make it not tmpfs if you want, just remove the mount in /etc/vfstab
>> #OPENSOLARIS: but... you really shouldn't need 2GB of /tmp space, it's meant for small, temporary files use /var/tmp if you need a lot of space
>> ------------------------------------------------------
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1171870
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Steven Peterson
Dream, Design, Develop!
(843) 422 - 6428
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-17 18:42:05 CET

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