Labs/Bespin/DesignDocs/VCSIntegration: Difference between revisions

Line 27: Line 27:
In the simple case, a user wants to create a new project from a public repository.
In the simple case, a user wants to create a new project from a public repository.


  clone http://hg.mozilla.org/labs/bespin bespin
  hg clone http://hg.mozilla.org/labs/bespin bespin


This will create a clone of the repository at the given location, with the result going into the new project 'bespin'. An alias for this command will be 'checkout'. This same command will work with all VCSes.
This will create a clone of the repository at the given location, with the result going into the new project 'bespin'. There should be a confirmation dialog if the project already exists, because this would overwrite the existing project.
 
Bespin needs to know which version control system is in use, so this command is necessarily version control system specific. Other commands in this set will be:
 
git clone git://github.com/tlrobinson/jack.git
svn checkout http://paver.googlecode.com/svn/trunk/ paver
bzr branch https://launchpad.net/drizzle
 
After you have your project set up, you can use the VCS-independent commands.


=== Authenticated Repository Access ===
=== Authenticated Repository Access ===
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093

edits