Cheatography
https://cheatography.com
Most used Bazaar commands
Bazaar commands and tricks
From SVN to Bazaar
Checking out a project |
svn co URL working_directory |
bzr co --lightweight URL working_directory |
Adding new files |
svn add file1 file2 |
bzr add file1 file2 |
Viewing history |
svn log |
bzr log --short |
|
svn log -r 10:25 |
bzr log -r 10..25 |
Changing to a previous revision |
svn up -r 25 |
bzr revert -r 25 |
|
|
Creating new code
Create a branch |
bzr branch [Repository_URL] [New_Branch_Url] |
Commit with message |
bzr commit -m "[MESSAGE]" |
Edit current code
Get the status of a file (modified, added, ...) |
bzr status |
Detect files that have been moved |
bzr move --auto |
Revert the working tree to the latest revision in the branch |
bzr revert |
Revert the working tree back to a specific revision N |
bzr revert -rN |
Checkout the code locally |
brz checkout [Repository_Url] [local_path] |
View changes and status
Get the status (modified, added, ...) |
bzr status |
Show changes between the last revision in this branch, and the current tree |
bzr diff |
History of the branch |
bzr log |
Handle branches
bzr build [Recipe_Repository_URL] [tmp_name_of_merge] |
bzr build [Recipe_Repository_URL] [tmp_name_of_merge] |
Push the merged code to the parent |
bzr push :parent |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by [deleted]