Archived

This topic is now archived and is closed to further replies.

Subversion and localhosts

This topic is 4983 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to get subversion up and running, id like to test the svnserver and well this might be a dumb question but, how do you I make my computer localhost? Its a winXP machine. Sorry if this is wrong forum or stupid topic, but u guys are smarter than I here, and can help out. Thanks Shane

Share this post


Link to post
Share on other sites
TO be more specific:

The name "localhost" always resolves to address 127.0.0.1

The address 127.0.0.1 is hard-coded in all IP implementations to mean "the local machine".

Thus, if you open a cmd window, and type this:

C:\> nslookup localhost

it''ll come back with:

Name: localhost
Address: 127.0.0.1


And if you do:

C:\> ping 127.0.0.1

You''ll get something like:

Pinging 127.0.0.1 with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms


Pretty fast, because it''s pinging itself.


That being said, I thought subversion hosted itself inside Apache with the modWebDAV module? Wouldn''t you need to also install Apache, then? Or have they moved away from that?

Share this post


Link to post
Share on other sites
Thats what I need, and yes subversion works with apache, but it has a "lite" server since im new to apache id figure id have more luck getting their lite server working than apache which looks like a beast.

(if its not already apparent, I really suck at networking stuff)

Share this post


Link to post
Share on other sites
I think subversion can also work on a repository which consists of local files. But the instructions say not to use a networked (SMB, NFS etc) volume.

That''s to say - don''t use a networked volume for the subversion database itself. I assume it''s ok to check files out on to a networked volume.

Also you don''t need to work on your files on the same box you run subversion on.

So if you have multiple developers one option is to give them their own logins on the same box and all use svn locally on that machine (even if doing the actual development elsewhere f.e. on their workstations)

Mark

Share this post


Link to post
Share on other sites