On Saturday 28 January 2006 02:01, Timo Savola wrote: > > My problem now is that I normally have the working copy of my svn > > repository in the directory called > > /worespace/svn/project-x/... > > > > How can I access this directory from a scratchbox shell? I have googled > > around but found no real soltion for this problem (which might seem > > simple, but is not easy to slove for me). > > Either a) use svnserve or ssh to access the repo, > b) do checkouts and commits outside of Scratchbox > (in /scratchbox/users/username/home/username), or > c) bind-mount the repository somewhere under > /scratchbox/users/username (might be a really bad idea).
d) Create a /scratchbox/users/$USER/home/$USER/workspace/ directory Then create a link to it from your host home dir: ln -s /home/$USER/workspace /scratchbox/users/$USER/home/$USER/workspace/ One advantage of doing it this way is that once your inside the workspace dir, the paths are identical inside and outside of sbox. I wrote a little script sbdo to take advantage of this: ------> sbdo <------ #!/bin/bash TARGETNAME=${1?"Need to specify a target"} shift sb-conf select ${TARGETNAME} && exec scratchbox -d $PWD $@ ------> sbdo <------ Jon _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users