/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/tutorial.txt

  • Committer: Matthieu Moy
  • Date: 2006-07-08 19:32:30 UTC
  • mfrom: (1845 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1857.
  • Revision ID: Matthieu.Moy@imag.fr-20060708193230-3eb72d871471bd5b
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
address by looking up your username and hostname. If you don't like the
118
118
guess that Bazaar-NG makes, then three options exist:
119
119
 
 
120
 1. Set an email address via ``bzr whoami``.  This is the simplest way.
 
121
 To set a global identity, use::
 
122
 
 
123
     % bzr whoami 'Your Name <email@example.com>'
 
124
 
 
125
 If you'd like to use a different address for a specific branch, enter
 
126
 the branch folder and use::
 
127
 
 
128
     % bzr whoami --branch 'Your Name <email@example.com>'
 
129
 
120
130
 1. Setting the email address in the
121
131
 ``~/.bazaar/bazaar.conf`` by adding the following lines. Please note that
122
132
 ``[DEFAULT]`` is case sensitive::
124
134
    [DEFAULT]
125
135
    email= Your Name <email@isp.com>
126
136
 
127
 
 1. Override the previous setting on a
128
 
 branch by branch basis by creating a branch section in
129
 
 ``~/.bazaar/branches.conf`` by adding the following lines::
 
137
 As above, you can override this settings on a branch by branch basis by
 
138
 creating a branch section in ``~/.bazaar/locations.conf`` and adding the
 
139
 following lines::
130
140
 
131
141
    [/the/directory/to/the/branch]
132
142
    email=Your Name <email@isp.com>
389
399
    % mkdir src
390
400
    % echo 'int main() {}' > src/simple.c
391
401
    % bzr add src
392
 
    % bzr status
393
 
    A       src/
394
 
    ?       src/simple.c
395
 
    % bzr add src/simple.c
396
 
    % bzr status
397
 
    A       src/
398
 
    A       src/simple.c
 
402
    added src
 
403
    added src/simple.c
 
404
    % bzr status
 
405
    added:
 
406
      src/
 
407
      src/simple.c
399
408
 
400
409
 
401
410
Deleting and removing files
415
424
    % bzr remove -v hello.txt
416
425
    ?       hello.txt
417
426
    % bzr status
418
 
    ?       hello.txt
419
 
    D       src/
420
 
    D       src/simple.c
 
427
    removed:
 
428
      hello.txt
 
429
      src/
 
430
      src/simple.c
 
431
    unknown:
 
432
      hello.txt
421
433
 
422
434
If you remove the wrong file by accident, you can use **bzr revert** to
423
435
restore it.
497
509
 
498
510
  (The directory that must already exist)
499
511
 
500
 
* The push plugin that comes with BzrTools
 
512
* The rspush plugin that comes with BzrTools
501
513