• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Version Control [was: Damaging the source code]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Version Control [was: Damaging the source code]


  • Subject: Re: Version Control [was: Damaging the source code]
  • From: Patrick Mau <email@hidden>
  • Date: Tue, 03 Nov 2009 08:57:26 +0100

On 03.11.2009, at 06:00, Joar Wingfors wrote:


On 2 nov 2009, at 14.52, Jens Alfke wrote:

It's still more complex than svn, which is included by default in 10.5
and 10.6.

Yes, but only the svn client is included. If you want an SVN server as well (for full parity with git and Mercurial) you'll need to install some complex pieces. Granted, many people will never need this, but without it you're dependent on an external SVN hosting service.


That's not true AFAIK. You can set up a SVN repository by simply calling:

	$ svnadmin create /path/to/repos

j o a r


Hi

Adding to Joar's comment, you can use file:/// URL's to access them.
Below is a complete sequence of commands.

I'm not a fan of SVN myself, but it works over http(s) which is a plus if
you have restricted network access.


Regards
Patrick

[08:45 mau@macpro] mkdir test
[08:45 mau@macpro] cd test
[08:45 mau@macpro] svnadmin create repo
[08:45 mau@macpro] mkdir project
[08:46 mau@macpro] echo "Hello World" >project/file.txt
[08:49 mau@macpro] svn -m "" import project file:///Volumes/Users/mau/test/repo
Adding         project/file.txt
Committed revision 1.

[08:53 mau@macpro] svn co file:///Volumes/Users/mau/test/repo working_copy
A working_copy/file.txt
Checked out revision 1.


[08:53 mau@macpro] cd working_copy
[08:53 mau@macpro] svn info
Path: .
URL: file:///Volumes/Users/mau/test/repo
Repository Root: file:///Volumes/Users/mau/test/repo
Repository UUID: 8ca60407-772c-4ffc-8db9-9e0cfc54cd2a
Revision: 1
Node Kind: directory
Schedule: normal
Last Changed Author: mau
Last Changed Rev: 1
Last Changed Date: 2009-11-03 08:50:08 +0100 (Di, 03 Nov 2009)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Damaging the source code (From: email@hidden)
 >Re: Damaging the source code (From: Jonathan del Strother <email@hidden>)
 >Re: Damaging the source code (From: Jonathan del Strother <email@hidden>)
 >Re: Version Control [was: Damaging the source code] (From: Jens Alfke <email@hidden>)
 >Re: Version Control [was: Damaging the source code] (From: Marco S Hyman <email@hidden>)
 >Re: Version Control [was: Damaging the source code] (From: "Sean McBride" <email@hidden>)
 >Re: Version Control [was: Damaging the source code] (From: Jens Alfke <email@hidden>)
 >Re: Version Control [was: Damaging the source code] (From: Joar Wingfors <email@hidden>)

  • Prev by Date: Re: Version Control [was: Damaging the source code]
  • Next by Date: Re: Version Control [was: Damaging the source code]
  • Previous by thread: Re: Version Control [was: Damaging the source code]
  • Next by thread: Re: Version Control [was: Damaging the source code]
  • Index(es):
    • Date
    • Thread