~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/update.txt

  • Committer: Ian Clatworthy
  • Date: 2007-09-03 02:37:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2778.
  • Revision ID: ian.clatworthy@internode.on.net-20070903023735-sdgp3h0hooptbhlo
(Ian Clatworthy)(trivial) Fix NEWS indenting and ReST nits in developers/update.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
====================================
21
21
1) Need to move wt.last_rev (O(1))
22
22
2) apply delta from base to new rev (O(changes))
23
 
applying changes to files is approx (O(lines-in-files ^ 2))
 
23
   applying changes to files is approx (O(lines-in-files ^ 2))
24
24
3) update meta-info (executable bits, etc) about modified files (O(changes))
25
25
 
26
26
2/3 could be concurrent (but that may not necessarily be faster)
46
46
1) open working tree, check latest revision
47
47
2) open working tree branch, check latest revision
48
48
3) mismatch => update wt => wt.b.lastrev
49
 
apply delta to tree O(changed file size)
50
 
---- conflicts
51
 
stop on conflicts
52
 
stop always -> inform user they need to repeat (why not?, GFD)
 
49
   apply delta to tree O(changed file size)
 
50
   ---- conflicts
 
51
   stop on conflicts
 
52
   stop always -> inform user they need to repeat (why not?, GFD)
53
53
4) pull new revs M => L O(newrevs)
54
54
5) apply delta to wt
55
 
local committed changes become a pending merge
56
 
local uncommitted stay uncommitted
57
 
local pending merges are retained (should be gc'd)
 
55
   local committed changes become a pending merge
 
56
   local uncommitted stay uncommitted
 
57
   local pending merges are retained (should be gc'd)
58
58
 
59
59
offtopic:
60
60
should bzr update report where the source is ?