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

Re: Help Getting Started

From: A. Alfred Ayache <alfred_at_lastbyte.ca>
Date: 2006-10-25 22:35:15 CEST

Hi Ryan:

Thanks for the prompt reply.

Yes, I have been reading the book (as well as the TortoiseSVN help file) and as
I couldn't get things working, I thought I'd ask for help here.

Yes, I do have svnserve running in an open DOS-box. I plan on making it a
service once I've got things running properly.

cityfax is just the name of a directory; not the computer's name.

I truly envy you not using Windows. I plan on moving to Linux at some point. I
keep putting it off. Maybe the wizard can give me a heart.

In the meantime, here are my latest efforts:

G:\>svn import e:\websites\cityfax\site svn://localhost -m"Original import"
svn: No repository found in 'svn://localhost'

G:\>svn ls svn://localhost
svn: No repository found in 'svn://localhost'

G:\>svn ls file://G:/svnrepo
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file://G:/svnrepo'

A. Alfred Ayache
http://lphs76.ca - Reunion community
http://www.rentersPlus.com - Apartment Search
http://www.lastbyte.ca - Web Design, eCommerce, PHP/MySQL, Java, Oracle

Ryan Schmidt wrote:
> First of all: have you read the book? It should explain everything you
> need to know. Take a weekend and read as much of it as you can.
>
> http://svnbook.org/
>
> If you don't like reading online documentation, it can be purchased in
> hardcopy from O'Reilly. There are also other books available. Several
> are listed on the Subversion web site.
>
>
> On Oct 25, 2006, at 13:23, A. Alfred Ayache wrote:
>
>> I've been expounding the benefits of source control for years. I've
>> even used it on a few projects, but it's mostly been supported by
>> others. I'm now running my own project and need to implement it for
>> local as well as network (i.e. Internet) access. I've chosen
>> Subversion (of course).
>>
>> So, I've installed the latest version of svn 1.4.0, and have
>> TortoiseSVN 1.3.5, but I understand that's outside the scope of this
>> list. I'm running all this on a Win2K workstation, which has XAMPP
>> installed. So to recap:
>>
>> Win2K
>> svn 1.4.0
>> Apache 2.2.2
>> PHP 5.1.4
>> etc...
>>
>> Because of the version of Apache, I can't use the DAV modules, which I
>> understand were built for 2.0, and won't work with 2.2 (I tried and it
>> didn't work). So I'll have to use svnserver for network access to my
>> repository.
>
> You can either use svnserve or direct file access at this point. I
> recommend setting up svnserve.
>
>
>> I was able to create a repository on my G: drive like so:
>>
>> G:\>svnadmin create svnrepo
>>
>> That's where I ran out of luck... Here are the next few lines and
>> their errors:
>>
>> G:\>svn import cityfax E:\Websites\cityfax\site
>> svn: Invalid URL 'E:/Websites/cityfax/site'
>
> If you want to use svnserve, your repository URL would begin with
> "svn://"; if you want to use direct file access, your repository URL
> would begin with "file://".
>
> According to "svn help import", the syntax is "svn import [PATH] URL"
> where PATH is the path to the local items you want to import, and URL is
> the URL to the repository.
>
>
>> G:\>svn import cityfax file://E:\Websites\cityfax\site
>
> What is cityfax? Is that the local directory you want to import into the
> repository? It is in the current directory? If so, you would say:
>
> svn import cityfax file://G:/svnrepo
>
> I'm not 100% sure about how to specify Windows file system paths in a
> file:// URL; I don't use Windows.
>
>
>> svn: Could not use external editor to fetch log message; consider
>> setting the $SVN_EDITOR environment variable or using the --message
>> (-m) or --file (-F) options
>> svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is
>> set, and no 'editor-cmd' run-time configuration option was found
>
> You either need to provide a log message with the -m parameter or set
> one of the indicated environment variables to specify an interactive
> editor in which you would write the log message. I do not know what
> appropriate values for those variables would be on Windows.
>
>
>> G:\>svn ls
>> svn: '.' is not a working copy
>
> True. After importing, you would have to check out a working copy before
> you can do anything like that.
>
>
>> G:\>svn checkout cityfax
>> svn: Client error in parsing arguments
>
> According to "svn help checkout", the syntax is "svn checkout
> URL[@REV]... [PATH]" where URL is the URL of the repository and PATH is
> the local path to the working copy you want to have created. So you need
> to say where your repository is.
>
> svn checkout file://G:/svnrepo wc
>
>
>> G:\>svn checkout svn://cityfax
>> svn: No repository found in 'svn://cityfax'
>
> Have you started svnserve?
>
> I'm assuming "cityfax" is the hostname of this computer?
>
>
>> So, a few questions:
>>
>> - How do I check what's currently in the repository?
>
> svn ls URL
>
> where URL is the URL to your repository, e.g.
>
> svn ls svn://localhost
>
> or
>
> svn ls file://G:/svnrepo
>
> Since you just created your repository, it is empty.
>
>
>> - Did my import work?
>
> No; it printed an error message. Nothing was imported.
>
>
>> - If my import did not work, how can I make it work?
>>
>> That's it for now. Baby steps. Thanks for your help!
>
>
>
>
> --------------------------------
> Spam/Virus scanning by CanIt Pro
>
> For more information see
> http://www.kgbinternet.com/SpamFilter.htm
>
> To control your spam filter, log in at
> http://filter.kgbinternet.com
>
>
> --BEGIN-ANTISPAM-VOTING-LINKS
> ------------------------------------------------------
>
> NOTE: This message was trained as non-spam. If this is wrong,
> please correct the training as soon as possible.
>
> Teach CanIt if this mail (ID 4780905) is spam:
> Spam:
> http://filter.kgbinternet.com/canit/b.php?c=s&i=4780905&m=5e3df52fc818
> Not spam:
> http://filter.kgbinternet.com/canit/b.php?c=n&i=4780905&m=5e3df52fc818
> Forget vote:
> http://filter.kgbinternet.com/canit/b.php?c=f&i=4780905&m=5e3df52fc818
> ------------------------------------------------------
> END-ANTISPAM-VOTING-LINKS
>
>
> --No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.408 / Virus Database: 268.13.11/496 - Release Date: 10/24/2006
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 25 22:33:06 2006

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.