/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/developers/add.txt

  • Committer: Ian Clatworthy
  • Date: 2007-06-06 05:56:03 UTC
  • mto: This revision was merged to the branch mainline in revision 2513.
  • Revision ID: ian.clatworthy@internode.on.net-20070606055603-monl116zotkbqn2y
commit.py clean-up including logging just to stderr, not bzr.log

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Add
2
 
===
 
2
---
3
3
 
4
4
Add is used to recursively version some paths supplied by the user. Paths that
5
5
match ignore rules are not versioned, and paths that become versioned are
7
7
a single tree, but perhaps with nested trees this should change.
8
8
 
9
9
Least work we can hope to perform
10
 
---------------------------------
 
10
=================================
11
11
 
12
12
* Read a subset of the full versioned paths data for the tree matching the scope of the paths the user supplied.
13
13
* Seek once to each directory within the scope and readdir its contents.
25
25
  (proportional to the number we actually calculate).
26
26
 
27
27
Per file algorithm
28
 
------------------
 
28
==================
29
29
 
30
30
#. If the path is versioned, and it is a directory, push onto the recurse stack.
31
 
#. If the path is supplied by the user or is not ignored, version it, and if a
 
31
#. If the path is supplied by the user or is not ignored, version it, and if a 
32
32
   directory, push onto the recurse stack. Versioning the path may require
33
33
   versioning the paths parents.
34
34
#. Output or otherwise record the ignored rule as per the user interface selected.