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

Re: shadow directory

From: Chris Little <clittle_at_sbs.com>
Date: 2004-10-05 21:20:43 CEST

>>> Josh Howe wrote:
>>> Ok, I'm almost there. Now I'm running into a problem when trying to
>>> export a single file. I keep getting "attempted to create entry in
>>> non-directory parent" Here's my export command: svn export
>>> file:///varrepository_path/public_website/trunk/index.html
>>> /var/www/shadow/public_website --force
>>> Any ideas? Thanks.
>>
>> Chris Little:
>> Do an "ls -al /var/www/shadow/public_website" so we can see what
>> public_website is.
>
> Josh Howe wrote:
> Here it is:
>
> total 204
> drwxr-xr-x 5 root root 4096 Sep 30 15:48 .
> drwxr-xr-x 4 root root 4096 Sep 30 17:47 ..
> -rw-r--r-- 1 root root 13791 Sep 24 15:33 aboutsinu.html
> -rw-r--r-- 1 root root 15879 Sep 29 12:26 clients.html
> drwxr-xr-x 3 root root 4096 Sep 30 15:48 common
> -rw-r--r-- 1 root root 13976 Sep 29 12:26 contact.html
> drwxr-xr-x 2 root root 8192 Sep 30 15:48 images
> -rw-r--r-- 1 root root 19578 Sep 30 15:48 index.html
> drwxr-xr-x 3 root root 4096 Sep 30 15:48 itservices
> -rw-r--r-- 1 root root 14265 Sep 29 12:26 profservices.html
> -rw-r--r-- 1 root root 14144 Sep 24 15:33 services-infra.html
> -rw-r--r-- 1 root root 14171 Sep 24 15:33 services-softdev.html
> -rw-r--r-- 1 root root 14788 Sep 24 15:33 services-webdev.html
> -rw-r--r-- 1 root root 15241 Sep 29 12:26 services.html
> -rw-r--r-- 1 root root 14113 Sep 24 15:33 webdevneeds.html
> -rw-r--r-- 1 root root 14638 Sep 24 15:33 webdevsinu.html

In case you didn't fix it yet, export will only work on a directory,
thus the error. Try this instead:

svn cat file:///varrepository_path/public_website/trunk/index.html >
/var/www/shadow/public_website/index.html

-- 
Chris Little                 SBS Technologies
Software Engineer            www.sbs.com
This communication, including any attachments, is confidential information of SBS Technologies and intended solely for the use of the individual or entity to which it is addressed.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you believe this message was sent to you in error, please immediately notify the sender by reply e-mail and delete this message without disclosing it.  Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 5 21:21:19 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.