# HG changeset patch # User Oleksandr Gavenko # Date 1329763906 -7200 # Node ID b0a55b2823206a7b12159ec025811898b4a3e9e6 # Parent 44731d7a3749c5e1df1d471a11bf74ae17945ca5 Convert to RST format. diff -r 44731d7a3749 -r b0a55b282320 bzr.rst --- a/bzr.rst Mon Feb 20 13:04:41 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,148 +0,0 @@ --*- mode: outline -*- - -* Import existing/init new project. - - $ mkdir proj - $ cd proj - $ touch README Makefile main.c - $ bzr init -Created a standalone tree (format: 2a) - $ bzr add . -adding Makefile -adding README -adding main.c - $ bzr ci -m 'Init proj.' -Committing to: /cygdrive/e/home/devel/tmp/vcs-bzr/proj/ -added Makefile -added README -added main.c -Committed revision 1. - -* Cloning/branching repo. - -'branch'/'get'/'clone' are aliases for 'branch' command: - - $ bzr clone proj/ proj-clone -Branched 1 revision(s). - -* Updating repo. - -* Incoming changes. - - $ bzr missing --theirs-only bzr://bzr.example.com/proj/trunk - -* Outgoing changes. - - $ bzr st -modified: - README - $ bzr ci -m up -Committing to: /cygdrive/e/home/devel/tmp/vcs-bzr/proj-clone/ -modified README -Committed revision 2. - $ bzr missing --mine-only -Using saved parent location: /cygdrive/e/home/devel/tmp/vcs-bzr/proj/ -You have 1 extra revision(s): ------------------------------------------------------------- -revno: 2 -committer: Oleksandr Gavenko -branch nick: proj-clone -timestamp: Mon 2011-01-24 00:21:27 +0200 -message: - up - -* Working copy status. - -'status'/'st'/'stat' are aliases for 'status' command: - - $ bzr rm README -deleted README - $ bzr st -removed: - README - -* Show working copy diff. - - $ echo hello >README - $ bzr diff -=== modified file 'README' ---- README 2011-01-23 21:16:40 +0000 -+++ README 2011-01-23 21:37:47 +0000 -@@ -0,0 +1,1 @@ -+hello - -* Show history log. - - $ bzr log - -* Adding files to repo. - - $ touch hello.c - $ bzr add hello.c -adding hello.c - -* Deleting files from repo. - -'remove'/'rm'/'del' are aliases for 'remove' command: - - $ bzr rm README -deleted README - -* Undo local changes. - - $ bzr rm README -deleted README - $ bzr revert README -+N README - -* Undo last commit. - - $ bzr add hello.c -adding hello.c - - $ bzr ci -m bug -Committing to: /cygdrive/e/home/devel/tmp/vcs-bzr/proj-clone/ -added hello.c -Committed revision 2. - - $ bzr uncommit -Are you sure? [y/n]: y - 2 Oleksandr Gavenko 2011-01-23 - bug - -The above revision(s) will be removed. -You can restore the old tip by running: - bzr pull . -r revid:gavenkoa@gmail.com-20110123213425-f2ca8umip5iw73is - - $ bzr st -added: - hello.c - -* Info about bzr repo. - - $ bzr info -Standalone tree (format: 2a) -Location: - branch root: . - -Related branches: - parent branch: /cygdrive/e/home/devel/tmp/vcs-bzr/proj - -* Shelf changes. - - $ bzr st -modified: - README - $ bzr shelve --all -Selected changes: - M README -Changes shelved with id "1". - $ bzr diff - $ bzr shelve --list - 1: - $ bzr unshelve -Using changes with id "1". - M README -All changes applied successfully. -Deleted changes with id "1". -