Difference between revisions of "Bazaar Guide bzr"
From zen2
(→To create a linked copy to the current directory) |
m (1 revision) |
(No difference)
| |
Latest revision as of 08:08, 25 July 2013
Contents
Centralized Trunk
This method requires a server to hold the truck.
Setup the server for the trunk
Set up the branch
bzr init-repo --no-trees sftp://chris@orac/media/raid/Development/bzr
Set up the Repository
bzr init sftp://chris@orac/media/raid/Development/bzr/cf
Checkout the Repository
bzr checkout sftp://chris@orac/media/raid/Development/bzr/cf .
Add Files and Commit
Now add your files to this directory then commit them to synchronise with the server
bzr add bzr commit -m "Initial Load"
Usage
Once it is set up on the clients all you need to do is:
To create a linked copy to the current directory
Only do this once
bzr checkout sftp://chris@orac/media/raid/Development/bzr/cf .
Commiting work
Once this has been done edit as normal,once you are happy with the changes
bzr commit
will commit changes to the client and server automatically.
Latest Version from Server
To ensure you have the latest version from the server
bzr update
List commits
bzr log
Revert to a previous commit
bzr revert -r 4
where 4 is the version number you got from the bzr log
Problems
If you get Conflict Detected type error try
bzr resolve --all
