Hakan Koseoglu <hakan.koseoglu@pcmsgroup.com> writes:
> I have a couple of repositories but I always get confused with import.
> For example, I have a directory (/home/hakank/dir1) to import, I use the
> following command from /home/hakank
>
> svn import dir1 file:///repodir/dir1
>
> That works because I have r/w access to /home/hakank.
>
> If I want to import a directory which is on a directory I don't have r/w
> access, it doesn't work. Especially if I want to import something like
> /doc. I have to become root to do that and that messes up with the DB4's
> file structure (especially if I am using the file:// method).
This is http://subversion.tigris.org/issues/show_bug.cgi?id=767.
> The last thing is, import doesn't create the svn client configuration
> directories. If I import a documentation directory which contains over
> 1GB of data, to be able to have a working copy I have to check out all
> of them into a different location. It won't allow me to check out on top
> of my existing structure and it won't recognise that I already have
> these files here. In the book chapter 5 section 6.2 mentiones import in
> a very short manner and never explains that there are some practical
> problems with importing directories.
This is http://subversion.tigris.org/issues/show_bug.cgi?id=1328,
though the issue's summary didn't make that clear until I fixed it
just now.
> What's the best practice solutions to get rid of these problems? In some
> cases I cannot move the directory off / and I can't give myself r/w
> access to that directory, even temporarily.
Well, you must have at least read access to import, so you could copy
(not move) the tree to somewhere and import it from there.
Other than that, just wait for #767 to get fixed; it's currently
scheduled for version 1.2.0, but it could happen sooner if we got a
patch... :-)
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 6 19:30:16 2004