progging - To wander about and beg; to seek food or other supplies by low arts; to seek for advantage by mean shift or tricks.
progging - Programmer slang for writing computer code.

onsdag 22. februar 2012

Quick list for adding a new repository

Normally, we work in a centralized workflow and here are a few steps for setting up a new repository for a project.

1. Create repository on the server (v:\bzr):

bzr init-repo --no-trees v:\bzr\MyNewProject

bzr init v:\bzr\MyNewProject
  Created a repository tree (format: 2a)
  Using shared repository: V:/bzr/MyNewProject/

2. Checkout repository on each development machine:

c:\Projects>bzr init-repo --trees MyNewProject
Shared repository with trees (format: 2a)
  shared repository: MyNewProject

c:\Projects\MyNewProject>bzr checkout v:\bzr\ MyNewProject 8.9x

3. On the machine that has any existing code to add:
- Copy or create a .bzrignore file first!

c:\Projects\MyNewProject>bzr add (--dry-run)
c:\Projects\MyNewProject>bzr commit -m "initial import"

Ingen kommentarer:

Legg inn en kommentar