~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/tutorial.txt

  • Committer: Martin Pool
  • Date: 2006-06-20 05:32:16 UTC
  • mfrom: (1797 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1798.
  • Revision ID: mbp@sourcefrog.net-20060620053216-817857d7ca3e9d1f
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
 
127
127
 1. Override the previous setting on a
128
128
 branch by branch basis by creating a branch section in
129
 
 ``~/.bazaar/branches.conf`` by adding the following lines::
 
129
 ``~/.bazaar/locations.conf`` by adding the following lines::
130
130
 
131
131
    [/the/directory/to/the/branch]
132
132
    email=Your Name <email@isp.com>
389
389
    % mkdir src
390
390
    % echo 'int main() {}' > src/simple.c
391
391
    % 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
 
392
    added src
 
393
    added src/simple.c
 
394
    % bzr status
 
395
    added:
 
396
      src/
 
397
      src/simple.c
399
398
 
400
399
 
401
400
Deleting and removing files
415
414
    % bzr remove -v hello.txt
416
415
    ?       hello.txt
417
416
    % bzr status
418
 
    ?       hello.txt
419
 
    D       src/
420
 
    D       src/simple.c
 
417
    removed:
 
418
      hello.txt
 
419
      src/
 
420
      src/simple.c
 
421
    unknown:
 
422
      hello.txt
421
423
 
422
424
If you remove the wrong file by accident, you can use **bzr revert** to
423
425
restore it.
497
499
 
498
500
  (The directory that must already exist)
499
501
 
500
 
* The push plugin that comes with BzrTools
 
502
* The rspush plugin that comes with BzrTools
501
503