~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to notes/revfile.txt

  • Committer: Rory Yorke
  • Date: 2010-10-20 14:38:53 UTC
  • mto: This revision was merged to the branch mainline in revision 5519.
  • Revision ID: rory.yorke@gmail.com-20101020143853-9kfd2ldcjfroh8jw
Show missing files in bzr status (bug 134168).

"bzr status" will now show missing files, that is, those added with "bzr
add" and then removed by non bzr means (e.g., rm).

Blackbox tests were added for this case, and tests were also added to
test_delta, since the implementation change is in bzrlib.delta.

Might also affect bug 189709.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
importing all inventories:
2
 
 
3
 
with 50% chance of choosing earlier parent:
4
 
 
5
 
-rw-r--r--  1 mbp mbp 296961 2005-04-09 22:37 inventory.drev
6
 
-rw-r--r--  1 mbp mbp  11184 2005-04-09 22:37 inventory.irev
7
 
 
8
 
imported in 2.490s
9
 
 
10
 
 
11
 
with no chance:
12
 
 
13
 
clearly slows down, 11.163s to import
14
 
 
15
 
-rw-r--r--  1 mbp mbp 63590 2005-04-09 22:39 inventory.drev
16
 
-rw-r--r--  1 mbp mbp 11184 2005-04-09 22:39 inventory.irev
17
 
 
18
 
 
19
 
 
20
 
with 25% chance:
21
 
 
22
 
revfile.py add-series inventory 0 mbp*  7.86s user 0.12s system 96% cpu 8.247 total
23
 
-rw-r--r--  1 mbp mbp 79535 2005-04-09 22:42 inventory.drev
24
 
-rw-r--r--  1 mbp mbp 11184 2005-04-09 22:42 inventory.irev
25
 
 
26
 
 
27
 
 
28
 
with full text inserted every 20 revisions:
29
 
 
30
 
revfile.py add-series inventory 0 mbp*  1.98s user 0.06s system 95% cpu 2.139 total
31
 
 
32
 
-rw-r--r--  1 mbp mbp 133719 2005-04-09 22:44 inventory.drev
33
 
-rw-r--r--  1 mbp mbp  11184 2005-04-09 22:44 inventory.irev
34
 
 
35
 
So pretty quick, simple, and somewhat easily justified.
36
 
 
37
 
 
38
 
 
39
 
every 50 revisions:
40
 
 
41
 
revfile.py add-series inventory 0 mbp*  3.35s user 0.08s system 93% cpu 3.667 total
42
 
 
43
 
-rw-r--r--  1 mbp mbp 91895 2005-04-09 22:46 inventory.drev
44
 
-rw-r--r--  1 mbp mbp 11184 2005-04-09 22:46 inventory.irev
45