/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/use-cases.txt

  • Committer: Martin Pool
  • Date: 2005-06-28 03:02:31 UTC
  • Revision ID: mbp@sourcefrog.net-20050628030231-d311e4ebcd467ef4
Merge John's import-speedup branch:

                                                                                         
  777 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:20:32 -0500
      revision-id: john@arbash-meinel.com-20050627032031-e82a50db3863b18e
      bzr selftest was not using the correct bzr

  776 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:20:22 -0500
      revision-id: john@arbash-meinel.com-20050627032021-c9f21fde989ddaee
      Add was using an old mutter

  775 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 22:02:33 -0500
      revision-id: john@arbash-meinel.com-20050627030233-9165cfe98fc63298
      Cleaned up to be less different

  774 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:54:53 -0500
      revision-id: john@arbash-meinel.com-20050627025452-4260d0e744edef43
      Allow BZR_PLUGIN_PATH='' to negate plugin loading.

  773 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:49:34 -0500
      revision-id: john@arbash-meinel.com-20050627024933-b7158f67b7b9eae5
      Finished the previous cleanup (allowing load_plugins to be called twice)

  772 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:45:08 -0500
      revision-id: john@arbash-meinel.com-20050627024508-723b1df510d196fc
      Work on making the tests pass. versioning.py is calling run_cmd directly, but plugins have been loaded.

  771 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:32:29 -0500
      revision-id: john@arbash-meinel.com-20050627023228-79972744d7c53e15
      Got it down a little bit more by removing import of tree and inventory.

  770 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 21:26:05 -0500
      revision-id: john@arbash-meinel.com-20050627022604-350b9773ef622f95
      Reducing the number of import from bzrlib/__init__.py and bzrlib/branch.py

  769 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:32:25 -0500
      revision-id: john@arbash-meinel.com-20050627013225-32dd044f10d23948
      Updated revision.py and xml.py to include SubElement.

  768 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:03:56 -0500
      revision-id: john@arbash-meinel.com-20050627010356-ee66919e1c377faf
      Minor typo

  767 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 20:03:13 -0500
      revision-id: john@arbash-meinel.com-20050627010312-40d024007eb85051
      Caching the import

  766 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:51:47 -0500
      revision-id: john@arbash-meinel.com-20050627005147-5281c99e48ed1834
      Created wrapper functions for lazy import of ElementTree

  765 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:46:37 -0500
      revision-id: john@arbash-meinel.com-20050627004636-bf432902004a94c5
      Removed all of the test imports of cElementTree

  764 John Arbash Meinel <john@arbash-meinel.com>       Sun 2005-06-26 19:43:59 -0500
      revision-id: john@arbash-meinel.com-20050627004358-d137fbe9570dd71b
      Trying to make bzr startup faster.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Bazaar-NG Use Cases
 
2
*******************
 
3
 
 
4
.. contents::
 
5
 
 
6
 
 
7
 
 
8
Review changes 
 
9
==============
 
10
 
 
11
Look at somebody else's tree or email submissions.  
 
12
 
 
13
Looking at the patch alone may not be enough; we might need to apply
 
14
it to a tree, build it and see if we like it.
 
15
 
 
16
 
 
17
 
 
18
 
 
19
Changes on branches
 
20
===================
 
21
 
 
22
Clearcase allows you to put all new development onto branches that are
 
23
later merged back.
 
24
 
 
25
Can we detect which development branches have unmerged changes?  Can
 
26
we dispose of those branches?
 
27
 
 
28
 
 
29
 
 
30
unmerge
 
31
=======
 
32
 
 
33
Get rid of any changes that have been merged in but not yet
 
34
committed.  Shouldn't this just be ``bzr revert``?
 
35
 
 
36
 
 
37
 
 
38
cross damage problem with PQM 
 
39
=============================
 
40
 
 
41
Lock 
 
42
 
 
43
 
 
44
 
 
45
undo some uncommitted changes
 
46
=============================
 
47
 
 
48
If you've made some changes and don't want them::
 
49
 
 
50
  baz undo foo.c
 
51
 
 
52
This stores them as a changeset in a directory that you can move
 
53
around.  You can set a name for it::
 
54
 
 
55
  baz undo --name blargh-refactor foo.c bar.c
 
56
 
 
57
You can get it back::
 
58
 
 
59
  baz redo foo.c
 
60
 
 
61
 
 
62
move some in-progress changes onto a local branch
 
63
=================================================
 
64
 
 
65
This is useful if we decide some changes on a bound branch should be
 
66
done on a separate branch; in particular people will want to do this
 
67
if they want to work in only one subdirectory of a complex config.
 
68
 
 
69
Possibly this should be the default with no arguments for ``bzr
 
70
branch``.  Or possibly there should be a separate ``bzr unbind``.
 
71
 
 
72
 
 
73
 
 
74
ignore some files
 
75
=================
 
76
 
 
77
I'm working on a Python project, which leaves bytecode files in the
 
78
working directory::
 
79
 
 
80
  baz ignore \*.pyc
 
81
  baz ignore \*.pyo
 
82
 
 
83
or::
 
84
 
 
85
  baz ignore '*.py[co]'
 
86
 
 
87
OK, there is some danger here that people always forget to quote globs
 
88
on the command line but maybe this will be enough.
 
89
 
 
90
Maybe take only one at a time so that we can catch unquoted globs like
 
91
this::
 
92
 
 
93
  baz ignore *.pyc                      # wrong!
 
94
 
 
95
If they do this, they see all '* added foo.pyc to .arch-inventory';
 
96
then they can do this to get back::
 
97
 
 
98
  baz undo .arch-inventory
 
99
 
 
100
This is potentially much more pleasant than Subversion.
 
101
 
 
102
 
 
103
 
 
104
Wrong commit message
 
105
====================
 
106
 
 
107
I accidentally commit some files with the wrong message and want to
 
108
change them::
 
109
 
 
110
   % bzr status
 
111
   M    foo.c
 
112
   % bzr commit -s 'fix foo'
 
113
   M    foo.c
 
114
   [oops!]
 
115
   % bzr uncommit
 
116
   % bzr status
 
117
   M    foo.c
 
118
   % bzr commit -s 'fix foo and bar'
 
119
 
 
120
This fix should be done as soon as possible, before anything else
 
121
depends on the change.
 
122
   
 
123
 
 
124
 
 
125
Monday morning
 
126
==============
 
127
 
 
128
Come in Monday morning; can't remember what you were doing.
 
129
 
 
130
* log; look at what was committed
 
131
* diff against upstream, or recent revisions
 
132
* what else?